libreg

2.0.0 • Public • Published

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("example@example.com");

// 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.

License

MIT

/libreg/

    Package Sidebar

    Install

    npm i libreg

    Weekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    21.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • tickerdev