{"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":"http://registry-npm.ywwl.com/is-supported-regexp-flag/download/is-supported-regexp-flag-1.0.0.tgz","integrity":"sha512-5e91Ha5qZDIpTvJAsvmWpNz5IrQEgN22HI7UeM+92QThnLgyHdRO0KZaiekaQgdUPahHWUK8cJ3ht5pkMlxUDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHKGAcveUeS7t+Z4W26o747ziQC5/9O46AIBqJS4GrtSAiEA1DFfuBfdglMRIb/DlbwvnWXbFB0Mnow1ygLySb4CzvI="}],"size":846,"noattachment":false,"key":"/is-supported-regexp-flag/-/is-supported-regexp-flag-1.0.0.tgz"},"directories":{},"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":1407957558297,"_cnpm_publish_time":1407957558297,"dist-tags":{"latest":"2.0.0"}}