🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

calendarific

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calendarific

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

1.3.9
latest
Source
npm
Version published
Weekly downloads
2.7K
12.95%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

holidays

FAQs

Package last updated on 15 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts