Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

import finnishholidays from 'finnish-holidays-js';

finnishholidays.next();
finnishholidays.year(2015);
finnishholidays.month(6, 2015);
finnishholidays.after(12, 2016, 0);
finnishholidays.before(12, 2016, 1);
finnishholidays.translate('Midsummer Eve', 'fi');

Tests

$ npm install -g mocha
$ npm test

License

MIT © Eric Nishio