npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "seconds" 的结果(共 5 个)
microtime

Get the current time in microseconds

MIT
pretty-ms

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

MIT
pretty-time

Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.

MIT
nanoseconds

Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.

MIT