@teamteanpm2024/optio-voluptas-sequi

1.0.3 • Public • Published

@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

Package Sidebar

Install

npm i @teamteanpm2024/optio-voluptas-sequi

Weekly Downloads

12

Version

1.0.3

License

MIT

Unpacked Size

8.58 kB

Total Files

5

Last publish

Collaborators

  • shivamkalsi2024