LibReg is a package allows you to use popular regex(s) easily using a user-friendly library
npm install libreg --save
const LibReg = require("libreg");
const reg = new LibReg();
// output: true
reg.emailValidator("example@example.com");
// output: false
reg.phoneNumberValidator("Phone number go BRRR")
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.