calendarific

A calendarific http://calendarific.com NodeJS wrapper.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
calendarific
221.3.95 years ago5 years agoMinified + gzip package size for calendarific in KB

Readme

node-calendarific
Node.js library for Calendarific API

Installation

npm install --save node-calendarific
or just
npm install node-calendarific

Usage

// Load the package
const Calendarific = require('node-calendarific');

// Initlize with an API key
const clapi = new Calendarific('_YOUR_API_KEY_');

const parameters = {
  country: 'US',
  year:    2019,
};

clapi.holidays(parameters, function (data) {
  console.log(data)
  // Insert awesome code here...
});