sindresorhus / sec
Convert a time string to seconds: '0017' → 1337
☆35Updated 3 years ago
Related projects: ⓘ
- Check if a value is a function☆27Updated 3 years ago
- Sort an array of numbers☆16Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Modify the filename in a path☆16Updated 2 years ago
- Get an array of parent directories including itself☆27Updated 10 months ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 3 years ago
- Regular expression for matching mapcodes☆18Updated 2 years ago
- https://npm.im/debug but with automatic namespacing☆16Updated 7 years ago
- Check if a number is in a given range☆21Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Modify the values of an object☆28Updated 3 years ago
- Count the number of lines in a string☆10Updated 8 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated 5 months ago
- Get the avatar of a GitHub user☆21Updated 2 years ago
- Add AVA to your project☆15Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated 10 months ago
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Check if a value is an error constructor☆13Updated 3 years ago
- Exclude certain items from an array☆20Updated 3 years ago
- Get the name of a named function☆33Updated 3 years ago
- The simplest API for running code inside electron☆25Updated 6 years ago
- Get your Mac model☆15Updated 8 years ago
- Regular expression for matching astral symbols☆34Updated 5 years ago
- Get the version numbers of a package from the npm registry☆30Updated 6 months ago
- Get the user agent of a recent Chrome version to pretend to be a browser in network requests☆36Updated 10 months ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Check if a file path is a compressed file☆16Updated 4 months ago
- utility to create a pretty report for a vfile☆19Updated last year