sindresorhus / is-svg
Check if a string or buffer is SVG
☆134Updated 8 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
- fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!☆86Updated 4 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Start a promise chain☆58Updated 3 years ago
- Filter object keys and values into a new object☆101Updated 10 months ago
- Sort the keys of an object☆102Updated 7 months ago
- Get a random temporary file path☆79Updated 2 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆165Updated 5 months ago
- Wordwrap a string with ANSI escape codes☆123Updated last year
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Read a chunk from a file☆122Updated 9 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Easily handle defaults for your options☆74Updated last year
- Write data to a random temporary file☆105Updated 8 months ago
- Convert RGB color to HEX☆118Updated last year
- Indent each line in a string☆113Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Parse milliseconds into an object☆119Updated 11 months ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Check if a value is a plain object☆102Updated 11 months ago
- Check if a string is HTML☆95Updated last year
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆153Updated last year
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- node module to check if a command-line command exists☆144Updated 2 years ago
- ☆90Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆59Updated last month
- Check if something is a Node.js stream☆110Updated 5 months ago
- Create and parse HTTP Content-Type header☆135Updated 8 months ago
- Get the path of the parent module☆77Updated last year