Gathering detailed insights and metrics for @joefallon/http-statuses
Gathering detailed insights and metrics for @joefallon/http-statuses
Gathering detailed insights and metrics for @joefallon/http-statuses
Gathering detailed insights and metrics for @joefallon/http-statuses
An easy to use HTTP statuses utility for common HTTP status codes written in TypeScript.
npm install @joefallon/http-statuses
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4 Commits
1 Watchers
2 Branches
1 Contributors
Updated on Jun 21, 2018
Latest Version
0.1.2
Package Id
@joefallon/http-statuses@0.1.2
Unpacked Size
19.81 kB
Size
4.90 kB
File Count
13
NPM Version
6.1.0
Node Version
8.11.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
4
An easy to use HTTP statuses utility for common HTTP status codes written in TypeScript.
By Joe Fallon
http-statuses has the following features:
The easiest way to install MyDAL is with npm.
npm install http-statuses --save
1import HttpStatuses from 'http-statuses'; 2 3console.log(HttpStatuses.SUCCESS_200_OK); //--> 200 4console.log(HttpStatuses.SUCCESS_201_CREATED); //--> 201 5console.log(HttpStatuses.SUCCESS_204_NO_CONTENT); //--> 204 6console.log(HttpStatuses.REDIRECT_301_MOVED_PERM); //--> 301 7console.log(HttpStatuses.REDIRECT_302_FOUND); //--> 302 8console.log(HttpStatuses.REDIRECT_304_NOT_MODIFIED); //--> 304 9console.log(HttpStatuses.ERR_400_BAD_REQUEST); //--> 400 10console.log(HttpStatuses.ERR_401_UNAUTHORIZED); //--> 401 11console.log(HttpStatuses.ERR_403_FORBIDDEN); //--> 403 12console.log(HttpStatuses.ERR_404_NOT_FOUND); //--> 404 13console.log(HttpStatuses.ERR_409_CONFLICT); //--> 409 14console.log(HttpStatuses.ERR_500_SERVER_ERR); //--> 500 15 16console.log(HttpStatuses.getMessage(HttpStatuses.SUCCESS_200_OK)); //--> OK 17console.log(HttpStatuses.getMessage(HttpStatuses.SUCCESS_201_CREATED)); //--> Created 18console.log(HttpStatuses.getMessage(HttpStatuses.SUCCESS_204_NO_CONTENT)); //--> No Content 19console.log(HttpStatuses.getMessage(HttpStatuses.REDIRECT_301_MOVED_PERM)); //--> Moved Permanently 20console.log(HttpStatuses.getMessage(HttpStatuses.REDIRECT_302_FOUND)); //--> Found 21console.log(HttpStatuses.getMessage(HttpStatuses.REDIRECT_304_NOT_MODIFIED)); //--> Not Modified 22console.log(HttpStatuses.getMessage(HttpStatuses.ERR_400_BAD_REQUEST)); //--> Bad Request 23console.log(HttpStatuses.getMessage(HttpStatuses.ERR_401_UNAUTHORIZED)); //--> Unauthorized 24console.log(HttpStatuses.getMessage(HttpStatuses.ERR_403_FORBIDDEN)); //--> Forbidden 25 26console.log(HttpStatuses.getMessage(HttpStatuses.ERR_404_NOT_FOUND)); //--> Not Found 27console.log(HttpStatuses.getMessage(HttpStatuses.ERR_409_CONFLICT)); //--> Conflict 28console.log(HttpStatuses.getMessage(HttpStatuses.ERR_500_SERVER_ERR)); //--> Internal Server Error 29
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
4 existing vulnerabilities detected
Details
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
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