Socket
Socket
Sign inDemoInstall

is-gif

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-gif - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "is-gif",
"version": "0.1.0",
"version": "0.1.1",
"description": "Check if a Buffer/Uint8Array is a GIF image",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -30,3 +30,3 @@ # is-gif [![Build Status](https://travis-ci.org/sindresorhus/is-gif.svg?branch=master)](https://travis-ci.org/sindresorhus/is-gif)

var isGif = require('is-gif');
var buffer = readChunk('unicorn.gif', 0, 3);
var buffer = readChunk.sync('unicorn.gif', 0, 3);

@@ -33,0 +33,0 @@ isGif(buffer);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc