sindresorhus / is-ip
Check if a string is an IP address
☆112Updated last year
Alternatives and similar repositories for is-ip:
Users that are interested in is-ip are comparing it to the libraries listed below
- Check if a string is a valid filename☆61Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Regular expression for matching IP addresses☆193Updated last year
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Loosely validate a URL.☆167Updated last year
- Move a file - Even works across devices☆199Updated last year
- Write data to a random temporary file☆105Updated 7 months ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Check if a URL is absolute☆79Updated 3 years ago
- Check if a file path is an image☆93Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Find the closest package.json file☆162Updated last year
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Get a random temporary file path☆79Updated 2 years ago
- Check if something is a Node.js stream☆110Updated 4 months ago
- Check if a string or buffer is SVG☆134Updated 7 months ago
- Make a function mimic another one☆94Updated 4 months ago
- Get the latest version of an npm package☆176Updated last year
- Convert RGB color to HEX☆118Updated last year
- Check if your package was installed globally☆70Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Convert a value to an array☆130Updated 3 years ago
- Easily handle defaults for your options☆73Updated last year
- Sort the keys of an object☆101Updated 6 months ago
- Read a package.json file☆165Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Parse milliseconds into an object☆119Updated 10 months ago
- Check if a process is running☆58Updated 3 years ago