npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "seconds" 的结果(共 21 个)
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
sec

Convert a time string to seconds: `'00:22:17'` → `1337`

MIT
microtime-x

Get current time in microseconds (cross-environment)

MIT
date-unit-ms

Millisecond conversions for common date units (seconds, minutes, hours etc).

MIT
convert-hrtime

Convert the result of `process.hrtime.bigint()` to seconds, milliseconds, nanoseconds

MIT
max-timeout

The max amount of milliseconds you can pass to `setTimeout()`

MIT
bruce-millis-option

Convert various time formats to milliseconds and throw if result is NaN

MIT
thread-sleep

A module for when you just need node to back off for a few milliseconds

MIT
@lukeed/ms

A tiny (414B) and fast utility to convert milliseconds to and from strings.

MIT
bruce-millis

Convert various time formats to milliseconds

MIT
big-time

Big time makes it possible to have a timeout that is longer than 24.8 days (2^31-1 milliseconds).

MIT
cbt_tunnels

Creates a local connection to CrossBrowserTesting.com which allows you to test sites behind your firewall or to access web pages that are saved locally on your machine. In just a few seconds, you can establish a connection which allows you to do live test

MIT
grunt-timer

Times the duration of each of your grunt tasks automatically and outputs the execution time in milliseconds to the console after each task (or optionally, at the end). It also logs the total time for all logged tasks.

callbag-interval

A callbag listenable source that sends incremental numbers every x milliseconds

MIT
nano-date

Date class that supports up to nano seconds

MIT
simpler-debounce

Creates and returns a new debounced version of the passed function that will postpone its execution until after wait milliseconds have elapsed since the last time it was invoked

MIT
relative-microtime

Get the number of microseconds elapsed since January 1, 1970 00:00:00 UTC without fear of clock drift

MIT