sindresorhus / is-ip
Check if a string is an IP address
☆113Updated 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
- Write data to a random temporary file☆105Updated 7 months ago
- Check if a file path is an image☆93Updated last year
- Check if a URL is absolute☆79Updated 3 years ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Check if a process is running☆58Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Get the extension of a given filename or path☆30Updated 6 years ago
- Loosely validate a URL.☆167Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Move a file - Even works across devices☆198Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Check if something is a Node.js stream☆110Updated 4 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 3 years ago
- Get the latest version of an npm package☆176Updated last year
- Make a function mimic another one☆94Updated 4 months ago
- Toggle the CLI cursor☆107Updated 7 months ago
- Regular expression for matching IP addresses☆194Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Convert RGB color to HEX☆118Updated last year
- Get the name of the current operating system. Example: macOS Sierra☆145Updated 9 months ago
- Get the latest stable semver version from an array of versions☆47Updated 3 years ago
- Generate a unique random string☆85Updated 2 years ago
- Strip leading whitespace from each line in a string☆136Updated 3 years ago
- Isomorphic function to convert a bytes value (e.g. 3456) to a human-readable string ('3.5 kB')☆87Updated 3 months ago
- Check if a string or buffer is SVG☆134Updated 7 months ago