finnish-holidays-js
v1.1.2
Published
A library for listing Finnish national holidays.
Downloads
11,941
Readme
A library for listing Finnish national holidays. Based on the finnish-holidays Ruby gem.
Setup
$ npm install finnish-holidays-js --save
Usage
var holidays = require('finnish-holidays-js');
holidays.next();
holidays.year(2015);
holidays.month(6, 2015);
holidays.after(12, 2016, 0);
holidays.before(12, 2016, 1);
holidays.translate('Midsummer Eve', 'fi');
Tests
$ npm install -g mocha
$ npm test
License
MIT © Eric Nishio