{ "_args": [ [ { "raw": "is-regex@^1.0.4", "scope": null, "escapedName": "is-regex", "name": "is-regex", "rawSpec": "^1.0.4", "spec": ">=1.0.4 <2.0.0", "type": "range" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/es-abstract" ] ], "_from": "is-regex@>=1.0.4 <2.0.0", "_id": "is-regex@1.0.4", "_inCache": true, "_location": "/is-regex", "_nodeVersion": "7.5.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", "tmp": "tmp/is-regex-1.0.4.tgz_1487407180290_0.1654177566524595" }, "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "_npmVersion": "4.1.2", "_phantomChildren": {}, "_requested": { "raw": "is-regex@^1.0.4", "scope": null, "escapedName": "is-regex", "name": "is-regex", "rawSpec": "^1.0.4", "spec": ">=1.0.4 <2.0.0", "type": "range" }, "_requiredBy": [ "/es-abstract" ], "_resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", "_shasum": "5517489b547091b0930e095654ced25ee97e9491", "_shrinkwrap": null, "_spec": "is-regex@^1.0.4", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/es-abstract", "author": { "name": "Jordan Harband" }, "bugs": { "url": "https://github.com/ljharb/is-regex/issues" }, "dependencies": { "has": "^1.0.1" }, "description": "Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag", "devDependencies": { "@ljharb/eslint-config": "^11.0.0", "covert": "^1.1.0", "editorconfig-tools": "^0.1.1", "eslint": "^3.15.0", "jscs": "^3.0.7", "nsp": "^2.6.2", "replace": "^0.3.0", "semver": "^5.3.0", "tape": "^4.6.3" }, "directories": {}, "dist": { "shasum": "5517489b547091b0930e095654ced25ee97e9491", "tarball": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz" }, "engines": { "node": ">= 0.4" }, "gitHead": "9c718fe1b3997eb70d5cbf7a6f5f233461868a00", "homepage": "https://github.com/ljharb/is-regex", "keywords": [ "regex", "regexp", "is", "regular expression", "regular", "expression" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "ljharb", "email": "ljharb@gmail.com" } ], "name": "is-regex", "optionalDependencies": {}, "readme": "#is-regex [![Version Badge][2]][1]\n\n[![Build Status][3]][4]\n[![dependency status][5]][6]\n[![dev dependency status][7]][8]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][11]][1]\n\n[![browser support][9]][10]\n\nIs this value a JS regex?\nThis module works cross-realm/iframe, and despite ES6 @@toStringTag.\n\n## Example\n\n```js\nvar isRegex = require('is-regex');\nvar assert = require('assert');\n\nassert.notOk(isRegex(undefined));\nassert.notOk(isRegex(null));\nassert.notOk(isRegex(false));\nassert.notOk(isRegex(true));\nassert.notOk(isRegex(42));\nassert.notOk(isRegex('foo'));\nassert.notOk(isRegex(function () {}));\nassert.notOk(isRegex([]));\nassert.notOk(isRegex({}));\n\nassert.ok(isRegex(/a/g));\nassert.ok(isRegex(new RegExp('a', 'g')));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[1]: https://npmjs.org/package/is-regex\n[2]: http://versionbadg.es/ljharb/is-regex.svg\n[3]: https://travis-ci.org/ljharb/is-regex.svg\n[4]: https://travis-ci.org/ljharb/is-regex\n[5]: https://david-dm.org/ljharb/is-regex.svg\n[6]: https://david-dm.org/ljharb/is-regex\n[7]: https://david-dm.org/ljharb/is-regex/dev-status.svg\n[8]: https://david-dm.org/ljharb/is-regex#info=devDependencies\n[9]: https://ci.testling.com/ljharb/is-regex.png\n[10]: https://ci.testling.com/ljharb/is-regex\n[11]: https://nodei.co/npm/is-regex.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/is-regex.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/is-regex.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=is-regex\n\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/ljharb/is-regex.git" }, "scripts": { "coverage": "covert test.js", "coverage-quiet": "covert test.js --quiet", "eccheck": "editorconfig-tools check *.js **/*.js > /dev/null", "eslint": "eslint test.js *.js", "jscs": "jscs *.js", "lint": "npm run jscs && npm run eslint", "posttest": "npm run security", "pretest": "npm run lint", "security": "nsp check", "test": "npm run tests-only", "tests-only": "node --harmony --es-staging test.js" }, "testling": { "files": "test.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", "firefox/15.0..latest", "firefox/nightly", "chrome/4.0..10.0", "chrome/20.0..latest", "chrome/canary", "opera/10.0..12.0", "opera/15.0..latest", "opera/next", "safari/4.0..latest", "ipad/6.0..latest", "iphone/6.0..latest", "android-browser/4.2" ] }, "version": "1.0.4" }