Check if a value is a Blob
24
stars
22
commits
JavaScript
primary language
Oct 27, 2023
updated
Check if a value is a Blob - File-like object of immutable, raw data
Blob
npm install is-blob
import isBlob from 'is-blob'; isBlob(new Blob(['<h1>Unicorns</h1>'], {type: 'text/html'})); //=> true
19 commits
2 commits
1 commits
sindresorhus/is-plain-obj
Check if a value is a plain object
105
sindresorhus/is-binary-path
Check if a file path is a binary file
49
sindresorhus/is-stream
Check if something is a Node.js stream
115
sindresorhus/is-text-path
Check if a file path is a text file
21
sindresorhus/is
Type check values
1,794
sindresorhus/is-svg
Check if a string or buffer is SVG
142
jonschlinkert/isobject
Is the value an object, and not an array or null?
72.9%
TypeScript
27.1%