3.1.0 • Published 2 years ago

oslllo-validator v3.1.0

Weekly downloads
31
License
MIT
Repository
github
Last release
2 years ago

Cover Image

CI/Test npm Coverage Status

Documentation, Installation, and Usage Instructions

See the full installation and usage documentation HERE.

The Objective

Create an all in one Javascript validator for my application(s).

The Problem / Why

I wanted an all in one JS validator.

Usage Examples

Check if value is actual NaN

const is = require("oslllo-validator");

is.actualNaN(NaN); // => True
is.actualNaN(null); // => False
is.actualNaN(undefined); // => False

Check if UUID

const is = require("oslllo-validator");

is.UUID("A987FBC9-4BED-3078-CF07-9141BA07C9F3", 3); // => True
is.UUID("xxxA987FBC9-4BED-3078-CF07-9141BA07C9F3", 3); // => False