Parse milliseconds into an object
☆124May 4, 2024Updated last year
Alternatives and similar repositories for parse-ms
Users that are interested in parse-ms are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`☆164Apr 21, 2021Updated 4 years ago
- Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`☆1,211Nov 2, 2025Updated 4 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Rename a function☆46Nov 5, 2023Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated last month
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Exclude certain items from an array☆24Jun 13, 2025Updated 9 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Returns a stream of English words☆22Apr 30, 2024Updated last year
- ESLint shareable config for XO with 2-space indent☆46Feb 7, 2026Updated last month
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 4 months ago
- Include only certain items in an array☆19Jun 13, 2025Updated 9 months ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Returns an array filled with the specified input☆43Jul 8, 2022Updated 3 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Clone and modify a RegExp instance☆24Jul 8, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Extract the actual stack of an error☆68Jul 8, 2022Updated 3 years ago
- Recursively create nested directories with jsftp, like mkdirp☆22Aug 9, 2021Updated 4 years ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 4 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Create a MD5 hash with hex encoding☆47Nov 6, 2023Updated 2 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Make a function mimic another one☆96Oct 28, 2024Updated last year
- Count the number of lines in a string☆10Apr 17, 2016Updated 9 years ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 3 years ago
- Get the first element or first n elements of an array.☆11Feb 13, 2021Updated 5 years ago
- Parse yes/no like values☆274Aug 22, 2025Updated 7 months ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Find multiple RegExp matches in a string☆91Jul 8, 2022Updated 3 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated last year
- Create a hash for file revving☆108Nov 1, 2023Updated 2 years ago
- Create an array without duplicates☆74May 3, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago