@diotoborg/illum-consequuntur

7.10.95 • Public • Published

@diotoborg/illum-consequuntur Version Badge

github actions coverage License Downloads

npm badge

Give a regex, get a robust predicate function that tests it against a string. This will work even if RegExp.prototype is altered later.

Getting started

npm install --save @diotoborg/illum-consequuntur

Usage/Examples

var regexTester = require('@diotoborg/illum-consequuntur');
var assert = require('assert');

var tester = regexTester('a');
assert.ok(tester('a'));
assert.notOk(tester('b'));

Tests

Simply clone the repo, npm install, and run npm test

Readme

Keywords

Package Sidebar

Install

npm i @diotoborg/illum-consequuntur

Weekly Downloads

121

Version

7.10.95

License

MIT

Unpacked Size

240 kB

Total Files

647

Last publish

Collaborators

  • quochoanglm58