is-regex

v1.1.0
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
regex regexp is regular expression regular expression

prepublish

safe-publish-latest

pretest

npm run lint

test

npm run tests-only

tests-only

node --harmony --es-staging test

posttest

npx aud --production

coverage

covert test/index.js

lint

eslint .

eccheck

eclint check *.js **/*.js > /dev/null

version

auto-changelog && git add CHANGELOG.md

postversion

auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f "v$(node -e "console.log(require('./package.json').version)")"

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 6/4/2020

Downloads

Maintainers