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

node-holidayapi

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
n

node-holidayapi

DEPRECATED -- Official Node.js library for Holiday API

1.0.3
latest
66

Supply Chain Security

100

Vulnerability

74

Quality

76

Maintenance

100

License

Repository has been archived by the owner.

Deprecated

Maintenance

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Found 1 instance in 1 package

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Network access

Supply chain risk

This module accesses the network.

Found 1 instance in 1 package

Version published
Weekly downloads
9
125%
Maintainers
1
Weekly downloads
 
Created
Issues
0

This repository has moved to https://github.com/holidayapi/node-holidayapi

The NPM package has also been renamed from node-holidayapi to simply holidayapi

This repository has been archived.

node-holidayapi

Official Node.js library for Holiday API

Installation

npm install --save node-holidayapi

Usage

var HolidayAPI = require('node-holidayapi');
var hapi = new HolidayAPI('_YOUR_API_KEY_').v1;

var parameters = {
  // Required
  country: 'US',
  year:    2016,
  // Optional
  // month:    7,
  // day:      4,
  // previous: true,
  // upcoming: true,
  // public:   true,
  // pretty:   true,
};

hapi.holidays(parameters, function (err, data) {
  // Insert awesome code here...
});

FAQs

Package last updated on 10 Sep 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