Gathering detailed insights and metrics for compressible
Gathering detailed insights and metrics for compressible
Gathering detailed insights and metrics for compressible
Gathering detailed insights and metrics for compressible
npm install compressible
98.4
Supply Chain
83.3
Quality
80.9
Maintenance
100
Vulnerability
100
License
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
98 Stars
350 Commits
11 Forks
16 Watching
1 Branches
24 Contributors
Updated on 23 Jul 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-6.8%
3,559,343
Compared to previous day
Last week
1.3%
20,359,831
Compared to previous week
Last month
6.2%
85,821,303
Compared to previous month
Last year
-0.5%
989,145,700
Compared to previous year
Compressible Content-Type
/ mime
checking.
1$ npm install compressible
1var compressible = require('compressible')
Checks if the given Content-Type
is compressible. The type
argument is expected
to be a value MIME type or Content-Type
string, though no validation is performed.
The MIME is looked up in the mime-db
and
if there is compressible information in the database entry, that is returned. Otherwise,
this module will fallback to true
for the following types:
text/*
*/*+json
*/*+text
*/*+xml
If this module is not sure if a type is specifically compressible or specifically
uncompressible, undefined
is returned.
1compressible('text/html') // => true 2compressible('image/png') // => false
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 2/30 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
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