Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ These formats can be lowercase (`minutes`), uppercase (`MINUTES`), or capitalize

If no unit is passed (`2`), the unit will default to `Milliseconds`. Fractional input values like `0.5m`, `-0.5m`, `.5m`, and `-.5m` are supported.

The month units first shipped in `3.0.0-canary.202508252028`. In `ms@2.1.3`,
month inputs return `undefined`. To try month support in the v3 prerelease,
install `ms@canary`. One month is one twelfth of a 365.25-day year
(2,629,800,000 milliseconds).

## Installation

You can install this package using a package manager like [npm](https://docs.npmjs.com/cli/v11/commands/npm-install), [yarn](https://yarnpkg.com/cli/add), [pnpm](https://pnpm.io/cli/add), [deno](https://docs.deno.com/runtime/reference/cli/add), or [bun](https://bun.com/docs/cli/add).
Expand Down