Skip to content
This repository has been archived by the owner on Jul 7, 2018. It is now read-only.

parzhitsky/check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check

IMPORTANT: checkjs was discontinued in favour of @valuer/main. Consider using it instead.

check (or checkjs) is a library of various validation methods.

// somewhere in the code
const numbers = [8, 11, -5, 32];

if (check.every(numbers).isPositive())
	doSomething(); // this does not happen

Install

npm i checkjs
# consider npm i @valuer/main instead