Skip to content

Morklympious/check.js

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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)