sindresorhus / parse-ms
Parse milliseconds into an object
☆119Updated 8 months ago
Alternatives and similar repositories for parse-ms:
Users that are interested in parse-ms are comparing it to the libraries listed below
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Write a package.json file☆89Updated 6 months ago
- Check if a URL is absolute☆78Updated 3 years ago
- Check whether a request can be retried based on the `error.code`☆78Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Check if argv has a specific flag☆94Updated 3 years ago
- Start a promise chain☆58Updated 3 years ago
- Find the closest package.json file☆162Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Convert RGB color to HEX☆118Updated last year
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Get the name of the current operating system. Example: macOS Sierra☆145Updated 7 months ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 8 months ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Check whether a package or organization name is available on npm☆168Updated 11 months ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆91Updated 2 years ago
- Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`☆158Updated 3 years ago
- Write data to a random temporary file☆105Updated 6 months ago
- Move a file - Even works across devices☆199Updated last year
- Randomize the order of items in an array☆106Updated 2 years ago
- Sort the keys of an object☆102Updated 4 months ago
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Make directories and their parents if needed - Like `mkdir -p`, but cross-platform☆124Updated 8 months ago
- Check if a string or buffer is SVG☆131Updated 5 months ago
- Check if a value is a plain object☆102Updated 8 months ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz☆109Updated last year