sindresorhus / is-svg
Check if a string or buffer is SVG
☆134Updated 7 months ago
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☆79Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Monorepo for NodeLib libraries☆70Updated 2 months ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆83Updated 7 months ago
- Check if argv has a specific flag☆94Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Generate a random integer☆87Updated 3 years ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 4 months ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Create and parse HTTP Content-Type header☆134Updated 8 months ago
- Check if a value is a plain object☆102Updated 10 months ago
- Clear a module from the cache☆181Updated 3 years ago
- Indent each line in a string☆113Updated 2 years ago
- Read a package.json file☆165Updated last year
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- Import a globally installed module☆58Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Check if a string is HTML☆95Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- ES6 Proxies based deep clone☆129Updated 2 years ago
- Check if something is a Node.js stream☆110Updated 4 months ago
- 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…☆92Updated 2 years ago