{"_id":"is-regex","_rev":"3735891","name":"is-regex","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-02-13T06:15:26.000Z","created":"2014-01-15T09:16:09.209Z","1.2.1":"2024-12-12T05:44:07.833Z","1.2.0":"2024-11-30T06:52:35.628Z","1.1.4":"2021-08-06T03:49:23.488Z","1.1.3":"2021-05-08T05:36:02.186Z","1.1.2":"2021-02-01T22:08:46.369Z","1.1.1":"2020-08-04T05:14:27.392Z","1.1.0":"2020-06-04T06:50:37.146Z","1.0.5":"2019-12-15T23:58:16.987Z","1.0.4":"2017-02-18T08:39:40.514Z","1.0.3":"2015-01-30T08:01:27.392Z","1.0.2":"2015-01-29T22:29:04.957Z","1.0.1":"2015-01-28T21:56:26.403Z","1.0.0":"2014-05-19T07:26:17.660Z","0.0.0":"2014-01-15T09:16:09.209Z"},"users":{"ljharb":true,"arteffeckt":true,"rocket0191":true},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git://github.com/inspect-js/is-regex.git"},"versions":{"1.2.1":{"name":"is-regex","version":"1.2.1","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only && npm run test:harmony","tests-only":"nyc node test","test:harmony":"nyc node --harmony --es-staging test","test:corejs":"nyc tape test-corejs.js","posttest":"npx npm@'>=10.2' audit --production","prelint":"eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')","lint":"eslint --ext=js,mjs .","postlint":"tsc -p . && attw -P","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-regex.git"},"bugs":{"url":"https://github.com/inspect-js/is-regex/issues"},"homepage":"https://github.com/inspect-js/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"call-bound":"^1.0.2","gopd":"^1.2.0","has-tostringtag":"^1.0.2","hasown":"^2.0.2"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.2","@types/core-js":"^2.5.8","@types/for-each":"^0.3.3","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","core-js":"^3.39.0","eclint":"^2.8.1","encoding":"^0.1.13","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"^5.8.0-dev.20241129"},"testling":{"files":"test/index.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..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","test-corejs.js"]},"_id":"is-regex@1.2.1","gitHead":"7c5a8cf9456d3cfe5e905bc620acb0e1bad61812","types":"./index.d.ts","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"shasum":"76d70a3ed10ef9be48eb577887d74205bf0cad22","size":12196,"noattachment":false,"key":"/is-regex/-/is-regex-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.2.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-regex_1.2.1_1733982247685_0.6892663743932181"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-12T05:44:07.833Z","publish_time":1733982247833,"_source_registry_name":"default","_cnpm_publish_time":1733982247833},"1.2.0":{"name":"is-regex","version":"1.2.0","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only && npm run test:harmony","tests-only":"nyc node test","test:harmony":"nyc node --harmony --es-staging test","test:corejs":"nyc tape test-corejs.js","posttest":"npx npm@'>=10.2' audit --production","prelint":"eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')","lint":"eslint --ext=js,mjs .","postlint":"tsc -p . && attw -P","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-regex.git"},"bugs":{"url":"https://github.com/inspect-js/is-regex/issues"},"homepage":"https://github.com/inspect-js/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"call-bind":"^1.0.7","gopd":"^1.1.0","has-tostringtag":"^1.0.2","hasown":"^2.0.2"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.0","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.0","@types/call-bind":"^1.0.5","@types/core-js":"^2.5.8","@types/for-each":"^0.3.3","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","core-js":"^3.39.0","eclint":"^2.8.1","encoding":"^0.1.13","eslint":"=8.8.0","for-each":"^0.3.3","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"^5.8.0-dev.20241129"},"testling":{"files":"test/index.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..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","test-corejs.js"]},"_id":"is-regex@1.2.0","gitHead":"fbe9cc12f011f5550cb2057367166ae808ab020e","types":"./index.d.ts","_nodeVersion":"23.3.0","_npmVersion":"10.9.0","dist":{"shasum":"41b9d266e7eb7451312c64efc37e8a7d453077cf","size":12072,"noattachment":false,"key":"/is-regex/-/is-regex-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.2.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regex_1.2.0_1732949555426_0.46825092566308757"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-30T06:52:35.628Z","publish_time":1732949555628,"_source_registry_name":"default","_cnpm_publish_time":1732949555628},"1.1.4":{"name":"is-regex","version":"1.1.4","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only && npm run test:harmony","tests-only":"nyc node test","test:harmony":"nyc node --harmony --es-staging test","test:corejs":"nyc tape test-corejs.js","posttest":"npx aud --production","lint":"eslint .","eccheck":"eclint check *.js **/*.js > /dev/null","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-regex.git"},"bugs":{"url":"https://github.com/inspect-js/is-regex/issues"},"homepage":"https://github.com/inspect-js/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"call-bind":"^1.0.2","has-tostringtag":"^1.0.0"},"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.3.0","core-js":"^3.16.0","eclint":"^2.8.1","eslint":"^7.32.0","foreach":"^2.0.5","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.3.0"},"testling":{"files":"test/index.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..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"13598e3491ac8f05d257d339cbf8bae0bb049a0d","_id":"is-regex@1.1.4","_nodeVersion":"16.6.0","_npmVersion":"7.19.1","dist":{"shasum":"eef5663cd59fa4c0ae339505323df6854bb15958","size":10555,"noattachment":false,"key":"/is-regex/-/is-regex-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.1.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regex_1.1.4_1628221763320_0.9252593466560313"},"_hasShrinkwrap":false,"publish_time":1628221763488,"_cnpm_publish_time":1628221763488},"1.1.3":{"name":"is-regex","version":"1.1.3","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","pretest":"npm run lint","test":"npm run tests-only && npm run test:harmony","tests-only":"nyc node test","test:harmony":"nyc node --harmony --es-staging test","test:corejs":"nyc tape test-corejs.js","posttest":"npx aud --production","lint":"eslint .","eccheck":"eclint check *.js **/*.js > /dev/null","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-regex.git"},"bugs":{"url":"https://github.com/inspect-js/is-regex/issues"},"homepage":"https://github.com/inspect-js/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"call-bind":"^1.0.2","has-symbols":"^1.0.2"},"devDependencies":{"@ljharb/eslint-config":"^17.6.0","aud":"^1.1.5","auto-changelog":"^2.2.1","core-js":"^3.12.0","eclint":"^2.8.1","eslint":"^7.26.0","foreach":"^2.0.5","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.2.2"},"testling":{"files":"test/index.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..latest","opera/next","safari/4.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"76982610fa1a8e224f9d86e26f036da3da53a039","_id":"is-regex@1.1.3","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"d029f9aff6448b93ebbe3f33dac71511fdcbef9f","size":10444,"noattachment":false,"key":"/is-regex/-/is-regex-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.1.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regex_1.1.3_1620452162069_0.33524684146338046"},"_hasShrinkwrap":false,"publish_time":1620452162186,"_cnpm_publish_time":1620452162186},"1.1.2":{"name":"is-regex","version":"1.1.2","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only && npm run test:harmony","tests-only":"nyc node test","test:harmony":"nyc node --harmony --es-staging test","posttest":"npx aud --production","lint":"eslint .","eccheck":"eclint check *.js **/*.js > /dev/null","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/inspect-js/is-regex.git"},"bugs":{"url":"https://github.com/inspect-js/is-regex/issues"},"homepage":"https://github.com/inspect-js/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"call-bind":"^1.0.2","has-symbols":"^1.0.1"},"devDependencies":{"@ljharb/eslint-config":"^17.5.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eclint":"^2.8.1","eslint":"^7.19.0","foreach":"^2.0.5","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.1.1"},"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"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"1225463c52f14184e849aa84825ef47431d6b6b2","_id":"is-regex@1.1.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"81c8ebde4db142f2cf1c53fc86d6a45788266251","size":10051,"noattachment":false,"key":"/is-regex/-/is-regex-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.1.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regex_1.1.2_1612217326238_0.2680274427943816"},"_hasShrinkwrap":false,"publish_time":1612217326369,"_cnpm_publish_time":1612217326369},"1.1.1":{"name":"is-regex","version":"1.1.1","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","tests-only":"node --harmony --es-staging test","posttest":"npx aud --production","coverage":"covert test/index.js","lint":"eslint .","eccheck":"eclint check *.js **/*.js > /dev/null","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"has-symbols":"^1.0.1"},"devDependencies":{"@ljharb/eslint-config":"^17.1.0","aud":"^1.1.2","auto-changelog":"^2.2.0","covert":"^1.1.1","eclint":"^2.8.1","eslint":"^7.6.0","foreach":"^2.0.5","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"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"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"gitHead":"b8086365dabb5933a0b5471c9ebf63ed4f4136ee","_id":"is-regex@1.1.1","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"shasum":"c6f98aacc546f6cec5468a07b7b153ab564a57b9","size":9659,"noattachment":false,"key":"/is-regex/-/is-regex-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.1.1.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regex_1.1.1_1596518067179_0.43200921521753965"},"_hasShrinkwrap":false,"publish_time":1596518067392,"_cnpm_publish_time":1596518067392},"1.1.0":{"name":"is-regex","version":"1.1.0","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"prepublish":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","tests-only":"node --harmony --es-staging test","posttest":"npx aud --production","coverage":"covert test/index.js","lint":"eslint .","eccheck":"eclint check *.js **/*.js > /dev/null","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"has-symbols":"^1.0.1"},"devDependencies":{"@ljharb/eslint-config":"^17.1.0","aud":"^1.1.2","auto-changelog":"^2.0.0","covert":"^1.1.1","eclint":"^2.8.1","eslint":"^7.1.0","foreach":"^2.0.5","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"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"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"7f2381d7273c9e0575519fee28e3386acd2882c5","_id":"is-regex@1.1.0","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"shasum":"ece38e389e490df0dc21caea2bd596f987f767ff","size":9454,"noattachment":false,"key":"/is-regex/-/is-regex-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.1.0.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regex_1.1.0_1591253437030_0.9131496985380159"},"_hasShrinkwrap":false,"publish_time":1591253437146,"_cnpm_publish_time":1591253437146},"1.0.5":{"name":"is-regex","version":"1.0.5","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","main":"index.js","scripts":{"pretest":"npm run lint","test":"npm run tests-only","tests-only":"node --harmony --es-staging test","posttest":"npx aud","coverage":"covert test/index.js","lint":"eslint .","eccheck":"eclint check *.js **/*.js > /dev/null","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"has":"^1.0.3"},"devDependencies":{"@ljharb/eslint-config":"^15.0.2","auto-changelog":"^1.16.2","covert":"^1.1.1","eclint":"^2.8.1","eslint":"^6.7.2","tape":"^4.11.0"},"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"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"gitHead":"840278ad33eb09c12a47d819b86274287b3144d5","_id":"is-regex@1.0.5","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"39d589a358bf18967f726967120b8fc1aed74eae","size":8542,"noattachment":false,"key":"/is-regex/-/is-regex-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.0.5.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regex_1.0.5_1576454296870_0.2660881285185357"},"_hasShrinkwrap":false,"publish_time":1576454296987,"_cnpm_publish_time":1576454296987},"1.0.4":{"name":"is-regex","version":"1.0.4","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"pretest":"npm run lint","test":"npm run tests-only","tests-only":"node --harmony --es-staging test.js","posttest":"npm run security","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js","eslint":"eslint test.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp check"},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{"has":"^1.0.1"},"devDependencies":{"tape":"^4.6.3","covert":"^1.1.0","jscs":"^3.0.7","editorconfig-tools":"^0.1.1","nsp":"^2.6.2","eslint":"^3.15.0","@ljharb/eslint-config":"^11.0.0","semver":"^5.3.0","replace":"^0.3.0"},"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"]},"engines":{"node":">= 0.4"},"gitHead":"9c718fe1b3997eb70d5cbf7a6f5f233461868a00","_id":"is-regex@1.0.4","_shasum":"5517489b547091b0930e095654ced25ee97e9491","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"dist":{"shasum":"5517489b547091b0930e095654ced25ee97e9491","size":7194,"noattachment":false,"key":"/is-regex/-/is-regex-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.0.4.tgz"},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-regex-1.0.4.tgz_1487407180290_0.1654177566524595"},"directories":{},"publish_time":1487407180514,"_cnpm_publish_time":1487407180514,"_hasShrinkwrap":false},"1.0.3":{"name":"is-regex","version":"1.0.3","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test.js && npm run security","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet","lint":"npm run jscs && npm run eslint","jscs":"jscs *.js","eslint":"eslint test.js *.js","eccheck":"editorconfig-tools check *.js **/*.js > /dev/null","security":"nsp package"},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{},"devDependencies":{"tape":"~3.4.0","covert":"1.0.0","jscs":"~1.10.0","editorconfig-tools":"~0.0.1","nsp":"~1.0.0","eslint":"~0.13.0","semver":"~4.2.0"},"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"]},"engines":{"node":">= 0.4"},"gitHead":"405685f6172a14d85e7a5f45e7112c9a608813f2","_id":"is-regex@1.0.3","_shasum":"0d55182bddf9f2fde278220aec3a75642c908637","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"0d55182bddf9f2fde278220aec3a75642c908637","size":6811,"noattachment":false,"key":"/is-regex/-/is-regex-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.0.3.tgz"},"directories":{},"publish_time":1422604887392,"_cnpm_publish_time":1422604887392,"_hasShrinkwrap":false},"1.0.2":{"name":"is-regex","version":"1.0.2","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test.js && npm run coverage-quiet","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet","lint":"jscs *.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{},"devDependencies":{"tape":"~3.4.0","covert":"1.0.0","jscs":"~1.10.0","semver":"~4.2.0"},"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"]},"engines":{"node":">= 0.4"},"gitHead":"ed8047dc58e07376bb2962a1cfeaa415df8a5293","_id":"is-regex@1.0.2","_shasum":"6087e95c826e91fb5ced034ed63de4a893da5aae","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"6087e95c826e91fb5ced034ed63de4a893da5aae","size":5151,"noattachment":false,"key":"/is-regex/-/is-regex-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.0.2.tgz"},"directories":{},"publish_time":1422570544957,"_cnpm_publish_time":1422570544957,"_hasShrinkwrap":false},"1.0.1":{"name":"is-regex","version":"1.0.1","description":"Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"npm run lint && node test.js && npm run coverage-quiet","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet","lint":"jscs *.js"},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{},"devDependencies":{"tape":"~3.4.0","covert":"1.0.0","jscs":"~1.10.0"},"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"]},"engines":{"node":">= 0.4"},"gitHead":"c278e21982ab6be7eff8223dd6ffb16326637382","_id":"is-regex@1.0.1","_shasum":"ae1de0fd81f62aa1978ccebf87cf35670b026114","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"ae1de0fd81f62aa1978ccebf87cf35670b026114","size":3159,"noattachment":false,"key":"/is-regex/-/is-regex-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.0.1.tgz"},"directories":{},"publish_time":1422482186403,"_cnpm_publish_time":1422482186403,"_hasShrinkwrap":false},"1.0.0":{"name":"is-regex","version":"1.0.0","description":"Is this value a JS regex?","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js && npm run coverage-quiet","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{},"devDependencies":{"tape":"~2.13.1","covert":"~0.4.0"},"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"]},"engines":{"node":">= 0.4"},"_id":"is-regex@1.0.0","_shasum":"8ee666ad53df3dfb1e7deaad541f02a50005a99f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"dist":{"shasum":"8ee666ad53df3dfb1e7deaad541f02a50005a99f","size":2381,"noattachment":false,"key":"/is-regex/-/is-regex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-1.0.0.tgz"},"directories":{},"publish_time":1400484377660,"_cnpm_publish_time":1400484377660,"_hasShrinkwrap":false},"0.0.0":{"name":"is-regex","version":"0.0.0","description":"Is this value a JS regex?","author":{"name":"Jordan Harband"},"license":"MIT","main":"index.js","scripts":{"test":"node test.js","coverage":"covert test.js","coverage-quiet":"covert test.js --quiet"},"repository":{"type":"git","url":"git://github.com/ljharb/is-regex.git"},"bugs":{"url":"https://github.com/ljharb/is-regex/issues"},"homepage":"https://github.com/ljharb/is-regex","keywords":["regex","regexp","is","regular expression","regular","expression"],"dependencies":{},"devDependencies":{"tape":"~2.3.2","covert":"~0.3.0"},"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"]},"engines":{"node":">= 0.4"},"readmeFilename":"README.md","_id":"is-regex@0.0.0","dist":{"shasum":"b7a058f7b65f0c5145df21474662bdb90472215d","size":2242,"noattachment":false,"key":"/is-regex/-/is-regex-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-regex/download/is-regex-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"maintainers":[{"name":"ljharb","email":""}],"directories":{},"publish_time":1389777369209,"_cnpm_publish_time":1389777369209,"_hasShrinkwrap":false}},"readme":"# is-regex <sup>[![Version Badge][2]][1]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\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\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]: https://versionbadg.es/inspect-js/is-regex.svg\n[5]: https://david-dm.org/inspect-js/is-regex.svg\n[6]: https://david-dm.org/inspect-js/is-regex\n[7]: https://david-dm.org/inspect-js/is-regex/dev-status.svg\n[8]: https://david-dm.org/inspect-js/is-regex#info=devDependencies\n[11]: https://nodei.co/npm/is-regex.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/is-regex.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/is-regex.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=is-regex\n[codecov-image]: https://codecov.io/gh/inspect-js/is-regex/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/inspect-js/is-regex/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-regex\n[actions-url]: https://github.com/inspect-js/is-regex/actions\n","_attachments":{},"homepage":"https://github.com/inspect-js/is-regex","bugs":{"url":"https://github.com/inspect-js/is-regex/issues"},"license":"MIT"}