Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 854 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 854 Bytes

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/