{"_id":"is-regexp","_rev":"12-c96179c1c46dcc01d31f3e970cb95532","name":"is-regexp","description":"Check if a value is a regular expression","dist-tags":{"latest":"3.1.0"},"versions":{"1.0.0":{"name":"is-regexp","version":"1.0.0","description":"Check whether a variable is a regular expression","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/is-regexp"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["regex","regexp","regular","expression","regular expression","re","check","type","is"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/is-regexp/issues"},"homepage":"https://github.com/sindresorhus/is-regexp","_id":"is-regexp@1.0.0","_shasum":"fd2d883545c46bac5a633e7b9a09e87fa2cb5069","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"fd2d883545c46bac5a633e7b9a09e87fa2cb5069","tarball":"https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz","integrity":"sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA06Yq+j0WTA9WmcRU2RyMg4NaGqLvv/YvJ8yAuddDQAIgNbmnL11OskccB+3oen3wxxSSnRMbt85DCoGZZkwpeZQ="}]},"directories":{}},"2.0.0":{"name":"is-regexp","version":"2.0.0","description":"Check if a value is a regular expression","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-regexp.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["regex","regexp","regular","expression","regular expression","re","check","type","is"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"c3cc127e38b11a2b3c720582f32b31cfd9adc1ee","bugs":{"url":"https://github.com/sindresorhus/is-regexp/issues"},"homepage":"https://github.com/sindresorhus/is-regexp#readme","_id":"is-regexp@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-B5NGyyvXTmppdR/g7ei6cu5DXhvzBLNcajOXJ3OR1tmW39iiF7444beL1lQjL393j8vDOTWGnSV2r/5cKuNqkg==","shasum":"d669511d64a620c7a8dffa9a1e00710f9275ace0","tarball":"https://registry.npmjs.org/is-regexp/-/is-regexp-2.0.0.tgz","fileCount":4,"unpackedSize":2311,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVwiU47d4DC8/jQokw9HP6SC+n/SUrvB2m9tPwZxUEoAIgHZKh6dJUw8NHUvGLOfU3on2KRjJR9b1iiZyBl/rqqiU="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regexp_2.0.0_1521730815430_0.674212659134924"},"_hasShrinkwrap":false},"2.1.0":{"name":"is-regexp","version":"2.1.0","description":"Check if a value is a regular expression","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-regexp.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["regex","regexp","regular","expression","regular expression","re","check","type","is"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"49e4f007cb9ff3661f37a18aaa7578bebcae3270","bugs":{"url":"https://github.com/sindresorhus/is-regexp/issues"},"homepage":"https://github.com/sindresorhus/is-regexp#readme","_id":"is-regexp@2.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==","shasum":"cd734a56864e23b956bf4e7c66c396a4c0b22c2d","tarball":"https://registry.npmjs.org/is-regexp/-/is-regexp-2.1.0.tgz","fileCount":5,"unpackedSize":2661,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctg69CRA9TVsSAnZWagAAs8wQAI8pl6QKk6mCcr/T1+az\nSnWlLqr3SoR4H00Q/hS4N6quYqtmIqW48Rew2QFfLgq257JzK7PmO7BOHLCT\nQFxgH6vheqKs11B4txkkrfi0QZkJRr+YCFavjoX/VBkliHmSAeNKmwguSZ7c\nysEkjP17sZx1OZOTAkzLpUsLcNn70VLJi8Cnrm/C4q9Zb7eIyB+tHC0JB3gG\nyJmRdEpCLIuqCqaPeEWGD0p/M37lUNrPqDl5q9Dzcr6UY3Ea8JzC99cdZZXD\np0967VHqRSEG8ctiW5Tg3oojgaKhYiF0KvtrvMy+BqEDlnsdBUKAzRMFx8NY\nAQoRArz1P486IvfvUwf/+Z1lV8nxRdIv/uGs/KJ6KnMGNRcnJbrXICBxdFSj\nAdCZ43sVeerj49glgPUlY6p5EvQ/jgNLjPb6xZ446Mde+fPySlFitzFzEFyC\njULVImBTWXyV8ozGmUovw3uqGAcmOTgpQmVe+xQvuS0wurvZtq6REZxnA/NQ\nUMKSqFn0qoJu2NLbjvsJi/mXDkq6HpUvDbwt+MjXOw3HOJwuKTKvnAeCokTE\n3r3eoGRqZq8x+/WbFxx+Xl40ZKWFA7TTfHriBn0PUNhpJJx5mAUvjbisjjIp\nm73wNiBzRyc7YGdHw/oXB5XV6zhB2jGrav51zABqSAjldOPUm0YJTtG7Uyw+\nfa/0\r\n=5v4o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDl/btcojaiZ1Ygg1RFTP9rLhNpoojnrJSSEUWveFwqNwIgf1ChsxwMZR5G8TPAal0LgoxiXZKpihN7Pyh2+MWZKe4="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regexp_2.1.0_1555435196431_0.9120120436081753"},"_hasShrinkwrap":false},"3.0.0":{"name":"is-regexp","version":"3.0.0","description":"Check if a value is a regular expression","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-regexp.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["regex","regexp","regular","expression","regular expression","check","type","is"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"7612c2ebbb367ee8922757ec1702a527aaea60bd","bugs":{"url":"https://github.com/sindresorhus/is-regexp/issues"},"homepage":"https://github.com/sindresorhus/is-regexp#readme","_id":"is-regexp@3.0.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-qbTM1elwEGoOK1GK2NngtLxRohdSgJME5vjQQaOoSWkzIHJVCxT+t+BO1/a7EhJixZOUUMda7Uj5gxjbJJhieA==","shasum":"6f92c66ecd4206a9e41fbabbd63a8e05ba76fd0c","tarball":"https://registry.npmjs.org/is-regexp/-/is-regexp-3.0.0.tgz","fileCount":5,"unpackedSize":3002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgbeumCRA9TVsSAnZWagAALWUP/3w1bTUlF1/oqI6pVe+n\nlRnn5+GMkOiSCuaeKs8pBIYtPPuTtHmIuPIHkF3cH2Af3AhEYUjDSL522z0q\nt8uLyb00kO7+sqT6LnvMUBdbv8nqnARJbQxotFqEAUgTtRPWCzPXBc2WlzJQ\n54aTKX0YLnrQXOOjcqhY6u2lTUB/9B9dBID2eeJ6wbidHNGXJeLdIf+KoM99\nDH+30r7XKb5xCs5mLz/eLUs8TYrzE1BRSChUjsVReLzaL8JEEQcV2F3KQm08\nWziZP0csRy0EH+YjcvvXNC1inTyrpQ0A76vehBpgvkgkrAG1g7NufdElfUSb\nCC6Sh4ynhUwjDH056Z2vKvtkkg1DmMik01MHBNCT7FZgggG2tVZHQ2iOeDEF\n4mvptChrADUsCEgNRqRTm8UBdKWVJ0LK7v6u4oghBe0OPqJNQ/hqqEl0QOiM\nHCBaGn+mPyRJaavt287cH8yX47imiJPXx03TC8I5FmV3mbh5t1VYJftNJIaB\n0cLHKJApeyXkLSwGW3KQnDWqdqUJvGZlrTCMDg9qbDU7yt7n7NZh2VuQSmIW\n3eWJf05LkstYTVdpQW5ziMbws/kiXKaaaSRv5ReYZspVh6Nec++8iPFLkxLY\nbbJnkjtbTYibspdjcHIFRmek0lhyijyHWWg3acuezltKLB33P3Q9AR4ZLqQt\niQPR\r\n=jiu1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgiDJHFgFdfRA1iEJ1vLFlVSqCADF0WBUJ5EqHupjFQwIhAI92peZi/NWysnLCbCcs6w5FBvCjBJrVIASfmYqRfTu9"}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regexp_3.0.0_1617816485704_0.9862342517404068"},"_hasShrinkwrap":false},"3.1.0":{"name":"is-regexp","version":"3.1.0","description":"Check if a value is a regular expression","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-regexp.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["regex","regexp","regular","expression","regular expression","check","type","is"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"types":"./index.d.ts","gitHead":"e38696a04645a94a0c1db00ecf8a28822a33b5f6","bugs":{"url":"https://github.com/sindresorhus/is-regexp/issues"},"homepage":"https://github.com/sindresorhus/is-regexp#readme","_id":"is-regexp@3.1.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA==","shasum":"0235eab9cda5b83f96ac4a263d8c32c9d5ad7422","tarball":"https://registry.npmjs.org/is-regexp/-/is-regexp-3.1.0.tgz","fileCount":5,"unpackedSize":3182,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2wF5CRA9TVsSAnZWagAArWgQAJ6ff9HLZcBdgstqTmbk\noDjin0I0cK0S2u1ZBvGjXzLvFQVeSFTH/1LtJNZVsXuEWaxomdAiPCJq9N9g\nFqasGEoORHRzo5haYyqsrCrdlLjrmcKCFLTPF9oDv2DNmg1Pa3HnkMDmD6zv\nelOTzpo1g5vvBHVX8gnOb8NLTF5qeiVRMG/FnRQUxLDkXjXMoGAQB3TEuNjR\nExz19gR+GcDq6oKylpgW8JlX/+Yz4LqdZjqe3P5VD918uYkXEAbAcXGrKUte\njiUFy5JJqApjO8oeE0uhPkW3wBa9Wgz4/YcPlujG3jAepQKbKC5ozpsxSp0/\nTWS45gwF18rJ5sxVFEU73Fs6jhBNKOiABj5MWOeymr53XYCGS3I/MQntBPyH\nMzAVdRYmYMSqAvm8mQwT/u70Y1pj1SiSApPT5NXiMG3u/pXcDq1UOUbmlfAs\nMXwgTmoahbolY0pli2bDje8P9Y6YrjhYMp7o1dpLqmUy6bEUP08xjBZ5lTsk\nATqsCx5yUwOxkoAmjLS8U/TWqA0h6ntahf1eoZXHzgViEcsKhnq0Rh04QSkB\n1xsj2qRaz2f7Blw25eMv9fwQJmnytTT6MQQTlBTvm97KP2Y8raRVtYzBgjO7\nVdCV7/bM3s7zIivHSBrT+w1LN6EG+7hmkgv5/Bu0f1hbphs8HNLgc1OjZgut\ntwjK\r\n=N2F2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk87+O9cskJ+VBMMlU9BHrUx3Cuk9bjhAWwu1PNiC7LwIgY319mCOfdcyiHkFq2CUvhZySLpSC2yQWCAeg+YnZC60="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-regexp_3.1.0_1635658657476_0.15874907751788414"},"_hasShrinkwrap":false}},"readme":"# is-regexp\n\n> Check if a value is a regular expression\n\n## Install\n\n```\n$ npm install is-regexp\n```\n\n## Usage\n\n```js\nimport isRegexp from 'is-regexp';\n\nisRegexp('unicorn');\n//=> false\n\nisRegexp(/unicorn/);\n//=> true\n\nisRegexp(new RegExp('unicorn'));\n//=> true\n```\n\n## FAQ\n\n#### [Why not just use `instanceof` instead of this package?](https://github.com/sindresorhus/is#why-not-just-use-instanceof-instead-of-this-package)\n\n## Related\n\n- [is](https://github.com/sindresorhus/is) - Type check values\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-is-regexp?utm_source=npm-is-regexp&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","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-07-12T21:04:39.777Z","created":"2014-06-11T09:12:27.882Z","1.0.0":"2014-06-11T09:12:27.882Z","2.0.0":"2018-03-22T15:00:15.514Z","2.1.0":"2019-04-16T17:19:56.556Z","3.0.0":"2021-04-07T17:28:05.848Z","3.1.0":"2021-10-31T05:37:37.669Z"},"homepage":"https://github.com/sindresorhus/is-regexp#readme","keywords":["regex","regexp","regular","expression","regular expression","check","type","is"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-regexp.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/is-regexp/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"rocket0191":true,"flumpus-dev":true}}