Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@repetere/node-holidayapi
Advanced tools
Node.js library for Holiday API
npm install --save @repetere/node-holidayapi
const HolidayAPI = require('node-holidayapi');
const hapi = new HolidayAPI('_YOUR_API_KEY_').v1;
const parameters = {
// Required
country: 'US',
year: 2016,
// Optional
// month: 7,
// day: 4,
// previous: true,
// upcoming: true,
// public: true,
// pretty: true,
};
hapi.holidays(parameters)
.then(data=>{
// Insert awesome code here...
})
.catch(error=>{
//handle errors
});
Make sure you have grunt installed
$ npm i -g grunt-cli jsdoc-to-markdown
For generating documentation
$ grunt doc
$ jsdoc2md index.js > docs/api.md
$ npm i
$ grunt test
Fork, write tests and create a pull request!
Check out https://github.com/repetere/node-holidayapi/blob/master/docs/api.md for the full node holiday api Documentation
FAQs
Node.js library for Holiday API
The npm package @repetere/node-holidayapi receives a total of 5 weekly downloads. As such, @repetere/node-holidayapi popularity was classified as not popular.
We found that @repetere/node-holidayapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.