JSPM

is-success

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 543
  • Score
    100M100P100Q90351F
  • License MIT

Check if a number is a HTTP success status code

Package Exports

  • is-success

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-success) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-success Build Status

Check if a number is a HTTP success status code

Install

$ npm install --save is-success

Usage

var isSuccess = require('is-success');

isSuccess(200);
//=> true

isSuccess(400);
//=> false

License

MIT © Arthur Verschaeve