{"name":"is-redirect","version":"1.0.0","description":"Check if a number is a redirect HTTP status code","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-redirect"},"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"},"gitHead":"53bc816ba54447a55676930138151feb0f917c18","bugs":{"url":"https://github.com/sindresorhus/is-redirect/issues"},"homepage":"https://github.com/sindresorhus/is-redirect","_id":"is-redirect@1.0.0","_shasum":"1d03dded53bd8db0f30c26e4f95d36fc7c87dc24","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1d03dded53bd8db0f30c26e4f95d36fc7c87dc24","tarball":"http://registry-npm.ywwl.com/is-redirect/download/is-redirect-1.0.0.tgz","integrity":"sha512-cr/SlUEe5zOGmzvj9bUyC4LVvkNVAXu4GytXLNMr1pny+a65MpQ9IJzFHD5vi7FyJgb4qt27+eS3TuQnqB+RQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6IS1hlzFgM4kfn0c6ZigTZz6NCGUFOiatW8j8x1PfigIhAJHxMOu2MyAXupkrz/UhGiya9Uy7aa/2uWmjC0FpUtR1"}],"size":1485,"noattachment":false,"key":"/is-redirect/-/is-redirect-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# is-redirect\n\n> Check if a number is a [redirect HTTP status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection)\n\n## Install\n\n```\n$ npm install is-redirect\n```\n\n## Usage\n\n```js\nimport isRedirect from 'is-redirect';\n\nisRedirect(302);\n//=> true\n\nisRedirect(200);\n//=> false\n```\n\n## Related\n\n- [is-server-error](https://github.com/arthurvr/is-server-error)\n- [is-success](https://github.com/arthurvr/is-success)\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-is-redirect?utm_source=npm-is-redirect&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","publish_time":1433692659755,"_cnpm_publish_time":1433692659755,"dist-tags":{"latest":"2.0.0"}}