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
- Detects if a file is binary in Node.js. Similar to Perl's -B☆164Updated 4 months ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆110Updated 2 years ago
- touch(1) for node☆122Updated 8 months ago
- Sort the keys of an object☆101Updated 6 months ago
- Monorepo for NodeLib libraries☆70Updated 2 months ago
- Indent each line in a string☆113Updated 2 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Get a random temporary file path☆79Updated 2 years ago
- Start a promise chain☆58Updated 3 years ago
- Node style HMAC for use in the browser, with native implementation in node☆61Updated 2 months ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Parse milliseconds into an object☆119Updated 10 months ago
- Check if something is a Node.js stream☆110Updated 4 months ago
- Convert a value to an array☆130Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Import a globally installed module☆57Updated last year
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆152Updated last year
- Generate a Buffer instance from a Data URI string☆86Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- process information for node.js and browsers☆124Updated 4 years ago
- fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!☆85Updated 4 years ago
- Create and parse HTTP Content-Type header☆134Updated 7 months ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Nested/recursive `.gitignore`/`.npmignore` parsing and filtering.☆61Updated 5 months ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Make a callback- or promise-based function support both promises and callbacks.☆112Updated last year
- Check whether a request can be retried based on the `error.code`☆80Updated 3 years ago
- Compressible Content-Type / mime checking.☆99Updated 11 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