sindresorhus / parse-ms
Parse milliseconds into an object
☆119Updated 6 months ago
Related projects ⓘ
Alternatives and complementary repositories for parse-ms
- Strip leading whitespace from each line in a string☆135Updated 3 years ago
- Find the closest package.json file☆159Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Finds the common standard cache directory☆151Updated 9 months ago
- Check if your package was installed globally☆70Updated last year
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆111Updated 4 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Get metadata of a package from the npm registry☆237Updated 4 months ago
- Move a file - Even works across devices☆198Updated last year
- Randomize the order of items in an array☆107Updated 2 years 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 last year
- Read a package.json file☆166Updated last year
- Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz☆109Updated last year
- Round a number to a specific number of decimal places: 1.234 → 1.2☆155Updated last year
- Check if a value is a plain object☆102Updated 6 months ago
- Create an array of unique values, in order, from the input arrays☆75Updated 3 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Write a package.json file☆89Updated 3 months ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Indent each line in a string☆112Updated 2 years ago
- Filter object keys and values into a new object☆100Updated 5 months ago
- Convert RGB color to HEX☆118Updated last year
- Check if a URL is absolute☆78Updated 3 years ago
- Check if a string is HTML☆96Updated 8 months ago
- Lazy number range generator☆82Updated 10 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Like `Promise.all()` but for `Map` and `Object`☆193Updated last year
- Reduce a list of values using promises into a promise for a value☆68Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago