Gathering detailed insights and metrics for is-gif
Gathering detailed insights and metrics for is-gif
Gathering detailed insights and metrics for is-gif
Gathering detailed insights and metrics for is-gif
npm install is-gif
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
29 Stars
21 Commits
2 Forks
6 Watching
1 Branches
3 Contributors
Updated on 31 Jan 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
4.7%
93,201
Compared to previous day
Last week
-4.4%
506,717
Compared to previous week
Last month
5.2%
2,238,590
Compared to previous month
Last year
-12.7%
26,031,038
Compared to previous year
Check if a Buffer/Uint8Array is a GIF image
$ npm install is-gif
1import {readChunk} from 'read-chunk'; 2import isGif from 'is-gif'; 3 4const buffer = await readChunk('unicorn.gif', {length: 3}); 5 6isGif(buffer); 7//=> true
Returns a boolean of whether input
is a GIF image.
Type: Buffer | Uint8Array
It only needs the first 3 bytes.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 2/21 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More