
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
dehumanize-date
Advanced tools
Parse dates in all the formats humans like to use:
Return dates in just the format that computers should use:
$ npm install dehumanize-date
A simple function which takes a string as an argument and returns a string in the form yyyy-mm-dd.
var date = dehumanizeDate(userInput);
The second parameter contains options. You can set whether to use US-style short dates, you can change what 'now' is for input like 'yesterday', and you can change the cutoff for 2-digit years that determines whether a given two-digit year is in the 21st or 20th century.
var date = dehumanizeDate(userInput, {usa: true, now: new Date(), cutoff: 80});
If you just want to use US formats for numerical dates you can also pass true as the second parameter:
var date = dehumanizeDate(userInput, true);
MIT
FAQs
Parse dates in all the formats humans like to use.
We found that dehumanize-date demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.