@ryniaubenpm/sequi-totam-alias

1.0.0 • Public • Published

@ryniaubenpm/sequi-totam-alias 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 @ryniaubenpm/sequi-totam-alias

Usage/Examples

var regexTester = require('@ryniaubenpm/sequi-totam-alias');
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 @ryniaubenpm/sequi-totam-alias

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

18 kB

Total Files

10

Last publish

Collaborators

  • mi762136