Digest access authentication header helper
Installations
npm install digest-header
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>= 8.0.0
Node Version
18.16.0
NPM Version
9.5.1
Score
99.9
Supply Chain
80.1
Quality
75.5
Maintenance
100
Vulnerability
100
License
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
node-modules
Download Statistics
Total Downloads
47,752,401
Last Day
28,383
Last Week
146,618
Last Month
733,458
Last Year
10,205,177
GitHub Statistics
8 Stars
9 Commits
6 Forks
23 Watching
1 Branches
12 Contributors
Bundle Size
957.00 B
Minified
557.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.1.0
Package Id
digest-header@1.1.0
Unpacked Size
6.28 kB
Size
2.48 kB
File Count
4
NPM Version
9.5.1
Node Version
18.16.0
Publised On
26 Apr 2023
Total Downloads
Cumulative downloads
Total Downloads
47,752,401
Last day
-13.5%
28,383
Compared to previous day
Last week
-19.8%
146,618
Compared to previous week
Last month
-2.1%
733,458
Compared to previous month
Last year
-32.7%
10,205,177
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
3
digest-header
Digest access authentication header helper.
Install
1npm install digest-header
Usage
1var digest = require('digest-header'); 2 3var method = 'GET'; 4var uri = '/admin'; 5var wwwAuthenticate = res.headers['WWW-Authenticate']; 6var userpass = 'user:pass'; 7var auth = digest(method, uri, wwwAuthenticate, userpass);
License
(The MIT License)
Copyright (c) 2014 fengmk2 <fengmk2@gmail.com> and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE.txt:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
SAST tool detected but not run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Warn: 0 commits out of 3 are checked with a SAST tool
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/node-modules/digest-header/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/node-modules/digest-header/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/node-modules/digest-header/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/node-modules/digest-header/codeql.yml/master?enable=pin
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:28
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:29
- Warn: no topLevel permission defined: .github/workflows/codeql.yml:1
- Warn: no topLevel permission defined: .github/workflows/nodejs.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Score
4.2
/10
Last Scanned on 2025-01-27
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 MoreOther packages similar to digest-header
@digitalbazaar/http-digest-header
Minimal isomorphic library (Node.js and browser) for creating and verifying Digest headers for HTTP Signatures
cache-digest-immutable
Service Worker to create Cache Digest header for Immutable Responses
indigestion
library to generate digest auth strings
httpbis-digest-headers
Create and verify content digests as found in HTTP headers according to draft-ietf-httpbis-digest-headers