Generate a unique random string
仓库
sindresorhus 的仓库
Get the maximum permitted length of a path of a Unix domain socket
setTimeout and setInterval that work with delays longer than 24.8 days
Debug your Unstated containers with ease
Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev
Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
Update notifications for your CLI app
Browser-compatible implementations of some of Node.js' URL utilities
Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`
Lax URL parsing with support for protocol-less URLs and IPs
Convert URLs to Markdown links: Extracts URLs from text → Gets their article title → Creates Markdown links
Get the path to the user home directory
Get the path to the user home directory
Node.js `os.userInfo()` ponyfill
Get the username of the current user
Get the username of the current user
Get the UTI (Uniform Type Identifier) of a file on macOS
Get a random ASCII cow
Check if a string is a valid filename
Validate the name of a custom element