{"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":"http://registry-npm.ywwl.com/is-supported-regexp-flag/download/is-supported-regexp-flag-1.0.1.tgz","fileCount":4,"unpackedSize":2617,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeuma/kz10HlQ0jAqvq/s6CT3Cghd/2gEQeiacXYjPoAIgcp/0iiUyKQKBWzV3pE5MGW2kDYRuir1sIZhAjzfVN6s="}],"size":1518,"noattachment":false,"key":"/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.1.tgz"},"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,"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","publish_time":1521734844062,"_cnpm_publish_time":1521734844062,"dist-tags":{"latest":"2.0.0"}}