Skip to content

muhtarudinsiregar/libur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libur

Build Status Codacy Badge

Package untuk list hari libur nasional indonesia

installation

npm install libur

or

yarn add libur

Usage

const Libur = require('libur');
const libur = new Libur();

console.log(libur.getYears()); // return list of years [2013, 2014, ...]

// params int years
// return array list of holiday in year

console.log(libur.getDataByYear(2013));

Test

npm test

Datasource

http://www.liburnasional.com/

Releases

No releases published

Packages

No packages published