Neatly Positioned Magazines
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

finnish-holidays-js

1.1.2 • Public • Published

finnish-holidays-js

NPM version Build Status

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

install

npm i finnish-holidays-js

Downloadsweekly downloads

225

version

1.1.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability