jsmp-infra-olha-vladova-validators
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

jsmp-infra-olha-vladova-validators

A simple module to validate an e-mail address and ipv4

Installation

Install via NPM:

npm install jsmp-infra-olha-vladova-validators

Usage

To validate email:

const { isEmail } = require("jsmp-infra-olha-vladova-validators"); isEmail("test@email.com"); // true

To validate ipv4:

const { isIPv4 } = require("jsmp-infra-olha-vladova-validators"); isIPv4("192.168.255.255"); // true

Tests

npm run test:unit

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i jsmp-infra-olha-vladova-validators

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

5.43 kB

Total Files

11

Last publish

Collaborators

  • ooollya