@canvacord/gif
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13226
61