Skip to content

Morklympious/check.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check.js

A micro checking library. (3.75kb minified!) Originally forked from is.js, I'm making it smaller because I want to be able to put it onto microjs because I'm some kind of man-baby who wants to do that.

Author: Bradley Stafford. (Originally by Aras Atasaygin)

This is a general-purpose check library.

  • Node and Browser ready
  • Written with ES2015 modules, output via Rollup and compilation by Buble
  • Written to be micro (less than 5kb) because I wanted to challenge myself to do it!

API

You can find the API documentation under the docs folder.

Array (check.array)
Date (check.date)
Existence (check.existence)
Number (check.number)
Object (check.object)
Regex (check.regex)
String (check.string)
Type (check.type)