
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@types/humanize-duration
Advanced tools
TypeScript definitions for humanize-duration
npm install --save @types/humanize-duration
This package contains type definitions for humanize-duration (https://github.com/EvanHahn/HumanizeDuration.js).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/humanize-duration.
These definitions were written by Piotr Błażejewicz, and Evan Hahn.
Moment.js is a widely-used library for parsing, validating, manipulating, and formatting dates. It includes duration formatting capabilities similar to humanize-duration but offers a broader range of date and time manipulation features.
date-fns is a modern JavaScript date utility library that provides a variety of functions for working with dates, including formatting durations. It is modular and tree-shakeable, making it a lightweight alternative to Moment.js.
Luxon is a library for working with dates and times in JavaScript. It is a modern alternative to Moment.js and includes features for formatting durations, along with extensive support for time zones and internationalization.
FAQs
TypeScript definitions for humanize-duration
We found that @types/humanize-duration 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.