A json
file with all main international festivities.
Example:
"christmas" {
"day": 25,
"month": "December"
}
## Usage An example usage of this file can be
Installation
npm install festivities.json --save
Example
const festivities = require('../path/to/festivities');
// This will return
// { "day": 25, "month": "December" }
console.log( festivities.christmas );
// This will return 25
console.log( festivities.christmas.day );
// This will return `December`
console.log( festivities.christmas.month );
## Hack You can also add other festivities doing the following steps:
- Fork this repo: https://github.com/rawnly/festivities.json/fork
- Create your festivity branch (git checkout -b my-new-festivity)
- Commit your changes (git commit -am 'Added a new festivity')
- Push to the branch (git push origin my-new-festivity)
- Create a new Pull Request