
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
Get the number of weeks in year - leap or not.
npm i --save year-weeks
npm test
For more use-cases see the tests
Get the number of weeks in year - leap or not.
[val] {Date|Number} every valid Date format string, Date object or year as numberreturn {Number}Example:
var yearWeeks = require('year-weeks');
yearWeeks(2014);
//=> 52
yearWeeks(2016);
//=> 52
yearWeeks(new Date(2016, 0));
//=> 52
yearWeeks('2012-12-17T03:24:00');
//=> 52
Charlike Mike Reagent
Copyright (c) 2014-2015 Charlike Mike Reagent, contributors.
Released under the MIT license.
Powered and automated by kdf, March 02, 2015
FAQs
Get the number of weeks in year - leap or not.
The npm package year-weeks receives a total of 1 weekly downloads. As such, year-weeks popularity was classified as not popular.
We found that year-weeks 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
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.