sindresorhus / is-svgLinks
Check if a string or buffer is SVG
☆143Updated 5 months ago
Alternatives and similar repositories for is-svg
Users that are interested in is-svg are comparing it to the libraries listed below
Sorting:
- Check if a string is HTML☆95Updated 3 months ago
- Sort the keys of an object☆107Updated 3 months ago
- Detects if a file is binary in Node.js. Similar to Perl's -B☆170Updated last week
- Read a chunk from a file☆125Updated last year
- Indent each line in a string☆114Updated 3 years ago
- Get a random temporary file path☆81Updated 2 years ago
- Binary wrapper that makes your programs seamlessly available as local dependencies☆154Updated last year
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆112Updated 3 years ago
- Parse milliseconds into an object☆123Updated last year
- Wordwrap a string with ANSI escape codes☆130Updated 3 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…☆95Updated 2 years ago
- Check if something is a Node.js stream☆115Updated last year
- Strip leading whitespace from each line in a string☆144Updated 2 months ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Check if a string is a valid filename☆63Updated 4 years ago
- fs.readdir() with filter, recursion, absolute paths, promises, streams, and more!☆85Updated 5 years ago
- A static list of the Node.js builtin modules from the latest Node.js version☆125Updated 3 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Convert a value to an array☆133Updated 4 years ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Import a globally installed module☆58Updated last year
- Round a number to a specific number of decimal places: 1.234 → 1.2☆161Updated 3 months ago
- Converts JavaScript objects to source☆104Updated 2 years ago
- Filter object keys and values into a new object☆105Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Check if a value is a plain object☆103Updated last year
- Get the latest version of an npm package☆175Updated last year
- Convert RGB color to HEX☆122Updated 2 years ago
- when you want to fire an event no matter how a process exits.☆196Updated last month
- Make a function mimic another one☆97Updated last year