Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "http-const", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "HTTP constants: methods, protocols, headers, etc.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,30 @@ | ||
# htt-const | ||
HTTP constants: methods, protocols, headers, etc | ||
# http-const | ||
HTTP constants: methods, protocols, headers, content types, etc. | ||
## Install | ||
``` | ||
npm i -S http-const | ||
``` | ||
## Usage | ||
``` js | ||
var httpConst = require('http-const'); | ||
console.log(httpConst.methods.get); // will output GET | ||
console.log(httpConst.protocols.http); // will output HTTP | ||
console.log(httpConst.protocolVersions.v10); // will output HTTP/1.0 | ||
console.log(httpConst.headers.contentType); // will output Content-Type | ||
console.log(httpConst.contentTypes.formData); // will output multipart/form-data | ||
``` | ||
## License | ||
This code available under the MIT License. | ||
See License.md for details. | ||
## Authors | ||
**Alexander Mac** ([amatsibarov@gmail.com](mailto:amatsibarov@gmail.com)) | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4241
31
1