Round a number to a specific number of decimal places: 1.234 → 1.2
仓库
sindresorhus 的仓库
List of common default router IP addresses
Run AppleScript and get the result
Run Electron without all the junk terminal output
Run JXA code and get the result
Run the Node.js binary no matter what
Serialize objects to JSON with handling for circular references
Useful utilities for working with Sass
Regular expression for matching scoped npm package names
Simple wrapper for cross-browser usage of the JavaScript Fullscreen API
SDBM non-cryptographic hash function
Convert a time string to seconds: '00:22:17' → 1337
Get the path to this package - Useful for testing
Get the diff type of two semver versions: 0.0.1 0.0.2 → patch
Regular expression for matching semver versions
Truncate a semver version: 1.2.3 → 1.2.0
Serialize/deserialize an error into a plain object
Simple `setImmediate` shim
Map over a Set
Regular expression for matching a shebang line