sindresorhus / to-millisecondsView external linksLinks
Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`
☆164Apr 21, 2021Updated 4 years ago
Alternatives and similar repositories for to-milliseconds
Users that are interested in to-milliseconds are comparing it to the libraries listed below
Sorting:
- Parse milliseconds into an object☆124May 4, 2024Updated last year
- Wait for localhost to be ready☆279Oct 2, 2025Updated 4 months ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Aug 10, 2021Updated 4 years ago
- Filter out unwanted `console.log()` output☆247Jul 8, 2022Updated 3 years ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- A babel preset that produces smallest possible code.☆40Feb 11, 2022Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Creates a readable stream producing cryptographically strong pseudo-random data using `crypto.randomBytes()`☆78Aug 12, 2021Updated 4 years ago
- Stylelint shareable config for XO with Sass support☆23Jul 12, 2024Updated last year
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Delay execution for a given amount of seconds☆86Nov 2, 2025Updated 3 months ago
- Access the system clipboard (copy/paste)☆506Feb 3, 2026Updated last week
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Cycle through the items of an array☆242Apr 7, 2021Updated 4 years ago
- Check if stdout or stderr is interactive☆119Nov 6, 2023Updated 2 years ago
- Get the version of a binary in semver format☆36Apr 3, 2024Updated last year
- 🗄 Fanny Pack is a non-fancy, but very practical, key/value-store☆106Sep 20, 2018Updated 7 years ago
- Get superb like words on the command-line☆48Apr 30, 2024Updated last year
- Get a random item from an array☆58Mar 28, 2022Updated 3 years ago
- Regular expression for matching issue references☆49Sep 26, 2024Updated last year
- Wait for localhost to be ready from the command-line☆121Sep 11, 2025Updated 5 months ago
- Conditionally join CSS class names together - Especially useful with React☆293May 3, 2021Updated 4 years ago
- Generate a URL for opening a new GitHub issue with prefilled title, body, and other fields☆248Mar 9, 2025Updated 11 months ago
- Simple wildcard matching☆34Sep 15, 2025Updated 5 months ago
- Some solutions for challenges given by https://www.dailycodingproblem.com☆14Nov 1, 2018Updated 7 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Convert a string to a valid safe filename on the command-line☆64Sep 15, 2025Updated 5 months ago
- Move a file, directory, or symlink - Even works across devices☆205Jan 25, 2026Updated 3 weeks ago
- Tap into a promise chain without affecting its value or state☆134Apr 8, 2021Updated 4 years ago
- List of JavaScript types☆83Apr 30, 2024Updated last year
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Replace all substring matches in a string☆90Aug 9, 2021Updated 4 years ago
- Check whether a string has any emoji☆106Oct 27, 2023Updated 2 years ago
- Get PID from a port☆79Nov 26, 2020Updated 5 years ago
- Check if your code is running as an npm script☆56Sep 18, 2021Updated 4 years ago
- 🏷 Map template literal expression interpolations with ease.☆68Jul 7, 2018Updated 7 years ago
- Exit the process when the `esc` key is pressed☆58Dec 4, 2023Updated 2 years ago
- Check if a file path is a compressed file☆19Apr 30, 2024Updated last year