@ukyo/re2-validator

0.1.5 • Public • Published

re2-validator

Install

$ npm i @ukyo/re2-validator

Usage

var module = require('@ukyo/re2-validator');

module.ready.then(() => {
  console.log(module.validate('hello!'));     // true
  console.log(module.validate('hello[');      // false
  console.log(module.validate('(?!hello!)')); // false
});

Readme

Keywords

none

Package Sidebar

Install

npm i @ukyo/re2-validator

Weekly Downloads

1

Version

0.1.5

License

Apache License 2.0

Last publish

Collaborators

  • ukyo