@zibuthe7j11/architecto-explicabo-porro

1.0.0 • Public • Published

@zibuthe7j11/architecto-explicabo-porro 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 @zibuthe7j11/architecto-explicabo-porro

Usage/Examples

var regexTester = require('@zibuthe7j11/architecto-explicabo-porro');
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

/@zibuthe7j11/architecto-explicabo-porro/

    Package Sidebar

    Install

    npm i @zibuthe7j11/architecto-explicabo-porro

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    18.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • vnhat562