@diotoborg/tenetur-hic

5.15.104 • Public • Published

@diotoborg/tenetur-hic 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/tenetur-hic

Usage/Examples

var regexTester = require('@diotoborg/tenetur-hic');
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

/@diotoborg/tenetur-hic/

    Package Sidebar

    Install

    npm i @diotoborg/tenetur-hic

    Weekly Downloads

    430

    Version

    5.15.104

    License

    MIT

    Unpacked Size

    220 kB

    Total Files

    606

    Last publish

    Collaborators

    • quochoanglm58