{"_id":"is-supported-regexp-flag","_rev":"9-8a4c4e10917374dd14022fd3a51b96fa","name":"is-supported-regexp-flag","description":"Check whether a RegExp flag is supported","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"is-supported-regexp-flag","version":"0.1.0","description":"Check whether a RegExp flag is supported. Mostly useful for `y` and `u`.","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/is-supported-regexp-flag"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["regexp","regex","re","check","is","support","supported","valid","flag"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/is-supported-regexp-flag/issues"},"homepage":"https://github.com/sindresorhus/is-supported-regexp-flag","_id":"is-supported-regexp-flag@0.1.0","_shasum":"3690eaf38f2dd6a10263f9c1039cb5c36cdfbeac","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"3690eaf38f2dd6a10263f9c1039cb5c36cdfbeac","tarball":"https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-0.1.0.tgz","integrity":"sha512-Kztc9XmTvYU7XC3WI/W77uGgxrk65wblGS7gIjX3irN4J6jWBIi/sNaPmHW4nyu5k8c57VE/C2KjRbIESw6rpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5Hk0AqElsBhwwC8aVF82srkGojZczo87yaXZKHuAbHwIhAIl5axdKSo+yMdWNMzi8z7vKZC+I3VMiaiNOg9J46Yi7"}]},"directories":{}},"1.0.0":{"name":"is-supported-regexp-flag","version":"1.0.0","description":"Check whether a RegExp flag is supported. Mostly useful for `y` and `u`.","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/is-supported-regexp-flag"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["regexp","regex","re","check","is","support","supported","valid","flag"],"devDependencies":{"mocha":"*"},"gitHead":"d43d48a561600e74bf26b88ddd11026a452d0c15","bugs":{"url":"https://github.com/sindresorhus/is-supported-regexp-flag/issues"},"homepage":"https://github.com/sindresorhus/is-supported-regexp-flag","_id":"is-supported-regexp-flag@1.0.0","_shasum":"8b520c85fae7a253382d4b02652e045576e13bb8","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"8b520c85fae7a253382d4b02652e045576e13bb8","tarball":"https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.0.tgz","integrity":"sha512-5e91Ha5qZDIpTvJAsvmWpNz5IrQEgN22HI7UeM+92QThnLgyHdRO0KZaiekaQgdUPahHWUK8cJ3ht5pkMlxUDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHKGAcveUeS7t+Z4W26o747ziQC5/9O46AIBqJS4GrtSAiEA1DFfuBfdglMRIb/DlbwvnWXbFB0Mnow1ygLySb4CzvI="}]},"directories":{}},"1.0.1":{"name":"is-supported-regexp-flag","version":"1.0.1","description":"Check whether a RegExp flag is supported. Mostly useful for `y` and `u`.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-supported-regexp-flag.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["regexp","regex","re","check","is","support","supported","valid","flag"],"devDependencies":{"mocha":"*"},"gitHead":"960b323ea2e2616f1efaf435dd5e8b31ac0fb903","bugs":{"url":"https://github.com/sindresorhus/is-supported-regexp-flag/issues"},"homepage":"https://github.com/sindresorhus/is-supported-regexp-flag#readme","_id":"is-supported-regexp-flag@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-3vcJecUUrpgCqc/ca0aWeNu64UGgxcvO60K/Fkr1N6RSvfGCTU60UKN68JDmKokgba0rFFJs12EnzOQa14ubKQ==","shasum":"21ee16518d2c1dd3edd3e9a0d57e50207ac364ca","tarball":"https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz","fileCount":4,"unpackedSize":2617,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeuma/kz10HlQ0jAqvq/s6CT3Cghd/2gEQeiacXYjPoAIgcp/0iiUyKQKBWzV3pE5MGW2kDYRuir1sIZhAjzfVN6s="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-supported-regexp-flag_1.0.1_1521734843951_0.4174010562085122"},"_hasShrinkwrap":false},"2.0.0":{"name":"is-supported-regexp-flag","version":"2.0.0","description":"Check whether a RegExp flag is supported","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-supported-regexp-flag.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12.20"},"scripts":{"test":"xo && ava"},"keywords":["regexp","regex","check","is","support","supported","valid","flag"],"devDependencies":{"ava":"^3.15.0","xo":"^0.42.0"},"gitHead":"8fdb97fa0e352d87379fca090bf36dc9d5af693e","bugs":{"url":"https://github.com/sindresorhus/is-supported-regexp-flag/issues"},"homepage":"https://github.com/sindresorhus/is-supported-regexp-flag#readme","_id":"is-supported-regexp-flag@2.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-8i4+OYUjdUaJ88KAs1WojIThDFjIpeYNrSlYy1g/At2p9YjQ7HEmB1yn60un0jRFjM3TQbKPMAluTPEPncZfqA==","shasum":"abd2dd286ba5f24596d68df6dba52c4e199aba08","tarball":"https://registry.npmjs.org/is-supported-regexp-flag/-/is-supported-regexp-flag-2.0.0.tgz","fileCount":4,"unpackedSize":2346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/ppVCRA9TVsSAnZWagAA3ZMQAJA57x/WjOeuoTE/sO8o\nVmlZQhsayCJIw8rzrJ40oJ+Qc/mYoUMB8jD9xir6xKFPpnJlNFHE5TF5o9La\nXTn00YZ99ok/qTMq2IGlJ4I3IbBFOrAPU7MryzIqKsWZlYiODXLSy/rdGZ7L\n06VgGItrP+Nd5xUvoAorFV+k3cu/3VDdGvRUq2vBvtBSHJsVZS/eQ8fP1ELG\n5pz7W5H7s24yIWMU0P24gOoaM6I0uABzEkbtLiuaocYW4MZo0WEjhomtWfVR\nQooKIruuLW8KAl5bwp6GwY+a4JPT+8zSQ3z4oicgzzkIz6sje1NJQKFaKMAA\n6GsZAQWdsWZacUaJ/Nhl1FxcEs5E7LrPeu8KwNPtOC+YqWKWYsZK0g0QQOzE\ndN6I0NlbuJMhG6/ik3c/Le+1kRYaDZg7/fvt7GZ6hZIHy0g830IEtSRAaSCg\nkZRgJzH4XLHYiHPXn2eujLXl9JUm3PBW692wzRQK8MMnbl5hp5soYwWGaSSJ\n0D+JNBMWoihvzpocOXVXGKI9lpuY7USex0metrjhgn08+EJWELx2/CRyrX/b\np8ZcpPZCE5nW5hEck5RCtrp1AEA09kXL9nBUMHWGygeblReUYPuKVSjk3JOZ\n5TCTgFNwuc+Fb93BVoVnB0Y9xpfchY4Pe2TP3kEI3Lo6V4e9OY5pGQFWqdzN\nNTV/\r\n=gB8/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhrais+Bq7NijV8OraZbzcXRV5aYJc4Rmj7h9ZwCqkCAiBh5kkuGB8bbwRjQbrXEek+bgi4jrl/HuhqO26fd3Emhg=="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-supported-regexp-flag_2.0.0_1627298389010_0.04368187390388867"},"_hasShrinkwrap":false}},"readme":"# is-supported-regexp-flag\n\n> Check whether a RegExp flag is supported\n\n## Install\n\n```\n$ npm install is-supported-regexp-flag\n```\n\n## Usage\n\n```js\nimport isSupportedRegexpFlag from 'is-supported-regexp-flag';\n\nisSupportedRegexpFlag('g'); // As in `/foo/g`\n//=> true\n\nisSupportedRegexpFlag('u');\n//=> false\n```\n\nThe `RegExp` constructor throws if you're trying to use unsupported flags. This is a nicer way to check for support.\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-19T02:50:53.355Z","created":"2014-06-14T10:40:23.814Z","0.1.0":"2014-06-14T10:40:23.814Z","1.0.0":"2014-08-13T19:19:18.297Z","1.0.1":"2018-03-22T16:07:24.062Z","2.0.0":"2021-07-26T11:19:49.122Z"},"homepage":"https://github.com/sindresorhus/is-supported-regexp-flag#readme","keywords":["regexp","regex","check","is","support","supported","valid","flag"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-supported-regexp-flag.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/is-supported-regexp-flag/issues"},"license":"MIT","readmeFilename":"readme.md"}