libreg
v2.0.0
Published
This package allows you to use popular regex(s) easily using a user-friendly library
Downloads
8
Maintainers
Readme
What is LibReg
LibReg is a package allows you to use popular regex(s) easily using a user-friendly library
Installation
npm install libreg --save
Usage
const LibReg = require("libreg");
const reg = new LibReg();
// output: true
reg.emailValidator("[email protected]");
// output: false
reg.phoneNumberValidator("Phone number go BRRR")
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.