Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@canvacord/gif

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canvacord/gif - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "@canvacord/gif",
"version": "1.0.0",
"version": "1.0.1",
"description": "GIF decoder/encoder for Canvacord",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -17,5 +17,10 @@ # @canvacord/gif

```js
import { Deocder } from '@canvacord/gif';
// es6
import { Decoder } from '@canvacord/gif';
import { readFileSync, createWriteStream } from 'fs';
// cjs
const { Decoder } = require('@canvacord/gif');
const { readFileSync, createWriteStream } = require('fs');
const source = readFileSync('./img.gif');

@@ -40,5 +45,10 @@ const decoder = new Decoder(source);

```js
// es6
import { Decoder, Encoder } from '@canvacord/gif';
import { readFileSync, createWriteStream } from 'fs';
// cjs
const { Decoder, Encoder } = require('@canvacord/gif');
const { readFileSync, createWriteStream } = require('fs');
const source = readFileSync('./img.gif');

@@ -45,0 +55,0 @@ const decoder = new Decoder(source);

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