@micromint1npm/sit-officia-hic

1.0.0 • Public • Published

@micromint1npm/sit-officia-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 @micromint1npm/sit-officia-hic

Usage/Examples

var regexTester = require('@micromint1npm/sit-officia-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

Readme

Keywords

Package Sidebar

Install

npm i @micromint1npm/sit-officia-hic

Weekly Downloads

8

Version

1.0.0

License

MIT

Unpacked Size

13.6 kB

Total Files

8

Last publish

Collaborators

  • dophung94zx