Sha256: e6d38b19a8fbe1170008da0bbc80bb41ab92194df54cebe6ede212f90785234d
Contents?: true
Size: 1.58 KB
Versions: 62
Compression:
Stored size: 1.58 KB
Contents
{ "name": "is-redirect", "version": "1.0.0", "description": "Check if a number is a redirect HTTP status code", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/is-redirect.git" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "engines": { "node": ">=0.10.0" }, "scripts": { "test": "node test.js" }, "files": [ "index.js" ], "keywords": [ "redirect", "http", "https", "status", "code", "codes", "is", "check", "detect" ], "devDependencies": { "ava": "0.0.4" }, "readme": "# is-redirect [![Build Status](https://travis-ci.org/sindresorhus/is-redirect.svg?branch=master)](https://travis-ci.org/sindresorhus/is-redirect)\n\n> Check if a number is a [redirect HTTP status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection)\n\n\n## Install\n\n```\n$ npm install --save is-redirect\n```\n\n\n## Usage\n\n```js\nvar isRedirect = require('is-redirect');\n\nisRedirect(302);\n//=> true\n\nisRedirect(200);\n//=> false\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "readmeFilename": "readme.md", "bugs": { "url": "https://github.com/sindresorhus/is-redirect/issues" }, "homepage": "https://github.com/sindresorhus/is-redirect#readme", "_id": "is-redirect@1.0.0", "_shasum": "1d03dded53bd8db0f30c26e4f95d36fc7c87dc24", "_resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", "_from": "is-redirect@>=1.0.0 <2.0.0" }
Version data entries
62 entries across 62 versions & 1 rubygems