1.0.0 • Published 2 months ago

@npmteam2024/alias-sint-iusto v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@npmteam2024/alias-sint-iusto 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 @npmteam2024/alias-sint-iusto

Usage/Examples

var regexTester = require('@npmteam2024/alias-sint-iusto');
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.0

2 months ago