Lists Finnish national holidays.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
lib
test
.editorconfig
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

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