{"_id":"@cjser/is-supported-regexp-flag","name":"@cjser/is-supported-regexp-flag","dist-tags":{"latest":"2.0.0-cjser.2"},"versions":{"2.0.0-cjser.2":{"name":"@cjser/is-supported-regexp-flag","version":"2.0.0-cjser.2","description":"Check whether a RegExp flag is supported","license":"MIT","repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"require":"./dist-cjser/index.cjs","default":"./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"},"main":"./dist-cjser/index.cjs","cjser":{"sourceVersion":"2.0.0","cjserVersion":2,"original":{"name":"is-supported-regexp-flag","version":"2.0.0","exports":"./index.js","repository":"sindresorhus/is-supported-regexp-flag","files":["index.js"],"scripts":{"test":"xo && ava"}}},"_id":"@cjser/is-supported-regexp-flag@2.0.0-cjser.2","gitHead":"a4bef54d7d22d3d9a6b84528457938d84cd65fe7","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-D6Fo+AViHkwyr9v+wds42feDX21dnCrxyEo23mvVqpqh3grwYPHTWquvlnw2G3enH5PZ2GU+HcjxJAVVCpr33A==","shasum":"76bf38743b5a4a40246e2cececf829c9ab47096c","tarball":"https://registry.npmjs.org/@cjser/is-supported-regexp-flag/-/is-supported-regexp-flag-2.0.0-cjser.2.tgz","fileCount":5,"unpackedSize":4368,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAPKccQ7QEIBj50TTvFBYtlL7Iw7gGrFby1PwSn1U+byAiEAjv07cAbg1oEcJjybHtE1+fZvqtuIPQLarVk3O1YHvOg="}]},"_npmUser":{"name":"nanahira","email":"nanahira@momobako.com"},"directories":{},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-supported-regexp-flag_2.0.0-cjser.2_1778158831646_0.38125398369653785"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-07T13:00:31.559Z","2.0.0-cjser.2":"2026-05-07T13:00:31.771Z","modified":"2026-05-07T13:00:32.314Z"},"maintainers":[{"name":"nanahira","email":"nanahira@momobako.com"}],"description":"Check whether a RegExp flag is supported","keywords":["regexp","regex","check","is","support","supported","valid","flag"],"repository":{"type":"git","url":"https://code.moenext.com/3rdeye/cjser.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","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\n## cjser\n\nThis package is a CommonJS-compatible build generated by cjser for projects that still need `require()` support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.\nOriginal repository: https://github.com/sindresorhus/is-supported-regexp-flag\n","readmeFilename":"readme.md","_rev":"1-c6e59524f875fce994406ad22a1abd6e"}