{"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":"http://registry-npm.ywwl.com/is-supported-regexp-flag/download/is-supported-regexp-flag-0.1.0.tgz","integrity":"sha512-Kztc9XmTvYU7XC3WI/W77uGgxrk65wblGS7gIjX3irN4J6jWBIi/sNaPmHW4nyu5k8c57VE/C2KjRbIESw6rpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5Hk0AqElsBhwwC8aVF82srkGojZczo87yaXZKHuAbHwIhAIl5axdKSo+yMdWNMzi8z7vKZC+I3VMiaiNOg9J46Yi7"}],"size":842,"noattachment":false,"key":"/is-supported-regexp-flag/-/is-supported-regexp-flag-0.1.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":1402742423814,"_cnpm_publish_time":1402742423814,"dist-tags":{"latest":"2.0.0"}}