npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

calendarific

1.3.9 • Public • Published

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...
});

install

npm i calendarific

Downloadsweekly downloads

33

version

1.3.9

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability