New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

http-core-constants

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-core-constants

http-core constants typescript/javascript version (from apache http-components:httpcore)

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
793
19.25%
Maintainers
1
Weekly downloads
 
Created
Source

Node Http Constants

NPM Github Workflow Status codecov Semantic-Release

Provide http-constants: (standard)headers and status code from java version org.apache.httpcomponents:httpcore

Usage

import { HttpHeaders, HttpStatus, HttpRequestMethod } from 'http-core-constants';

console.log(HttpHeaders.ACCEPT);    // output: Accept
console.log(HttpStatus.SC_OK);      // output: 200 (constants with `SC` prefix same as apache core constants)
console.log(HttpStatus.OK);         // output: 200
console.log(HttpRequestMethod.GET); // output: GET

Keywords

apache

FAQs

Package last updated on 26 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts