sindresorhus / is-svg
Check if a string or buffer is SVG
☆135Updated this week
Alternatives and similar repositories for is-svg:
Users that are interested in is-svg are comparing it to the libraries listed below
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- Get a random temporary file path☆80Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!☆86Updated 4 years ago
- Monorepo for NodeLib libraries☆72Updated 3 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 6 months ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Check if a string is HTML☆95Updated last year
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Parse milliseconds into an object☆119Updated last year
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Find the closest package.json file☆163Updated last year
- Create and parse HTTP Content-Type header☆136Updated 9 months ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆144Updated last year
- Check if your package was installed globally☆70Updated last year
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆93Updated 2 years ago
- Binary wrapper that makes your programs seamlessly available as local dependencies☆154Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Check if something is a Node.js stream☆111Updated 6 months ago
- Convert RGB color to HEX☆118Updated last year
- Require global npm as a local node module.☆32Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- process information for node.js and browsers☆125Updated 4 years ago
- Start a promise chain☆58Updated 3 years ago
- ☆154Updated 4 months ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 3 years ago
- Cross-platform .zip file creation☆130Updated last year