@sindresorhus/to-milliseconds

npmv2.0.0

Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`

License MITpermissive4 versions1 maintainers0 deps106,498 weekly dl
sindresorhus/to-milliseconds
53
/ 100
Health
safe to use

@sindresorhus/[email protected] is safe to use (health: 53/100)

Health breakdown0 – 100
0/25
maintenance
14/20
popularity
25/25
security
12/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

0.6 KBminified
0.4 KB gzipped
0 direct dependencies
side effectsscoped
🌟

TypeScript

7/10typed
Types from @types/sindresorhus__to-milliseconds (DefinitelyTyped)

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/@sindresorhus/to-milliseconds

First published · 2018-07-04T11:19:59.988Z

Last updated · 2021-04-21T11:58:35.138Z