http-reasons

WebJar for http-reasons

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

http-reasons
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

http-reasons
WebJar for http-reasons
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/postmanlabs/http-reasons

Download http-reasons

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/http-reasons/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>http-reasons</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/http-reasons/
implementation 'org.webjars.npm:http-reasons:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/http-reasons/
implementation ("org.webjars.npm:http-reasons:0.1.0")
'org.webjars.npm:http-reasons:jar:0.1.0'
<dependency org="org.webjars.npm" name="http-reasons" rev="0.1.0">
  <artifact name="http-reasons" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='http-reasons', version='0.1.0')
)
libraryDependencies += "org.webjars.npm" % "http-reasons" % "0.1.0"
[org.webjars.npm/http-reasons "0.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

http-reasons

A simple module that allows one to lookup extended information pertaining to a HTTP response code.

Usage

npm install http-reasons --save-dev;
var httpReasons = require('http-reasons');

console.log(httpReasons.lookup(122));
// outputs
// {
//   "name": "Request-URI too long",
//   "detail": "This is a non-standard IE7-only code which means the URI is longer than a maximum of 2083 characters."
// }
org.webjars.npm

Postman Inc.

Versions

Version
0.1.0