🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

is-blob

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-blob

Check if a value is a `Blob`

3.0.0
latest
Version published
Maintainers
1
Created

is-blob

Check if a value is a Blob - File-like object of immutable, raw data

Install

npm install is-blob

Usage

import isBlob from 'is-blob';

isBlob(new Blob(['<h1>Unicorns</h1>'], {type: 'text/html'}));
//=> true
  • is - Type check values

FAQs

Package last updated on 16 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts