Gathering detailed insights and metrics for rfc2231
Gathering detailed insights and metrics for rfc2231
Gathering detailed insights and metrics for rfc2231
Gathering detailed insights and metrics for rfc2231
npm install rfc2231
85.6
Supply Chain
75.7
Quality
77.7
Maintenance
100
Vulnerability
99.5
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
3 Stars
20 Commits
2 Forks
16 Watching
1 Branches
19 Contributors
Updated on 20 Oct 2021
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
26.2%
2,355
Compared to previous day
Last week
-0%
8,013
Compared to previous week
Last month
2.4%
30,385
Compared to previous month
Last year
52.8%
363,410
Compared to previous year
1
Encode and decode rfc2231 (MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations) and rfc5987 (Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters).
1var rfc2231 = require('rfc2231'); 2 3console.log(rfc2231.unfoldAndDecodeParameters({ 4 'title*0*': "us-ascii'en'This%20is%20even%20more%20", 5 'title*1*': '%2A%2A%2Afun%2A%2A%2A%20', 6 'title*2': "is it not?" 7})); 8// {title: "This is even more ***fun*** is it not?"} 9 10console.log(rfc2231.encodeAndFoldParameters({ 11 foo: '0123456789012345678901234567890123456789012345678901234567890123456789' 12})); 13// { 14// 'foo*0': '"012345678901234567890123456789012345678901234567890123456789"', 15// 'foo*1': '"0123456789"' 16// } 17
rfc2231.unfoldAndDecodeParameters
takes advantage of the iconv
module if available, and otherwise falls back to iconv-lite
.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 1/19 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
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
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-25
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