1.0.3 • Published 12 days ago

@teamteanpm2024/optio-voluptas-sequi v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 days ago

@teamteanpm2024/optio-voluptas-sequi 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 @teamteanpm2024/optio-voluptas-sequi

Usage/Examples

var regexTester = require('@teamteanpm2024/optio-voluptas-sequi');
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

1.0.2

13 days ago

1.0.3

12 days ago

1.0.1

14 days ago

1.0.0

15 days ago