Gathering detailed insights and metrics for statuses
Gathering detailed insights and metrics for statuses
Gathering detailed insights and metrics for statuses
Gathering detailed insights and metrics for statuses
@types/statuses
TypeScript definitions for statuses
@bundled-es-modules/statuses
mirror of statuses, bundled and exposed as ES module
popsicle-status
Popsicle middleware for rejecting responses with bad HTTP statuses
semantic-release-slack-bot
A slack bot for semantic-release notifying release statuses
npm install statuses
99.2
Supply Chain
99.5
Quality
79.6
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
273 Stars
289 Commits
29 Forks
15 Watching
1 Branches
30 Contributors
Updated on 22 Nov 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-6.8%
11,002,307
Compared to previous day
Last week
1.5%
63,822,822
Compared to previous week
Last month
9.2%
266,226,492
Compared to previous month
Last year
9.9%
2,755,541,087
Compared to previous year
HTTP status utility for node.
This module provides a list of status codes and messages sourced from a few different projects:
This is a Node.js module available through the
npm registry. Installation is done using the
npm install
command:
1$ npm install statuses
1var status = require('statuses')
Returns the status message string for a known HTTP status code. The code may be a number or a string. An error is thrown for an unknown status code.
1status(403) // => 'Forbidden' 2status('403') // => 'Forbidden' 3status(306) // throws
Returns the numeric status code for a known HTTP status message. The message is case-insensitive. An error is thrown for an unknown status message.
1status('forbidden') // => 403 2status('Forbidden') // => 403 3status('foo') // throws
Returns an array of all the status codes as Integer
s.
Returns the numeric status code for a known status message (in lower-case),
otherwise undefined
.
1status['not found'] // => 404
Returns true
if a status code expects an empty body.
1status.empty[200] // => undefined 2status.empty[204] // => true 3status.empty[304] // => true
Returns the string message for a known numeric status code, otherwise
undefined
. This object is the same format as the
Node.js http module http.STATUS_CODES
.
1status.message[404] // => 'Not Found'
Returns true
if a status code is a valid redirect status.
1status.redirect[200] // => undefined 2status.redirect[301] // => true
Returns true
if you should retry the rest.
1status.retry[501] // => undefined 2status.retry[503] // => true
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
11 different organizations found -- score normalized to 10
Details
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no vulnerabilities detected
Reason
dependency not pinned by hash detected -- score normalized to 6
Details
Reason
2 out of 5 merged PRs checked by a CI test -- score normalized to 4
Reason
found 25 unreviewed changesets out of 30 -- score normalized to 1
Reason
branch protection not enabled on development/release branches
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no update tool detected
Details
Reason
project is not fuzzed
Details
Reason
0 commit(s) out of 30 and 0 issue activity out of 10 found in the last 90 days -- score normalized to 0
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2024-08-12T21:27:37Z
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