@types/ms
- Version 0.7.34
- Published
- 3.2 kB
- No dependencies
- MIT license
Install
npm i @types/ms
yarn add @types/ms
pnpm add @types/ms
Overview
TypeScript definitions for ms
Index
Functions
Functions
function ms
ms: { (value: number, options?: { long: boolean }): string; (value: string): number;};
Short/Long format for
value
.Parameter value
Parameter options
{String}
Parse the given
value
and return milliseconds.Parameter value
{Number}
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/ms
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/ms)
- HTML<a href="https://www.jsdocs.io/package/@types/ms"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3141 ms. - Missing or incorrect documentation? Open an issue for this package.