1.2.0 • Published 1 year ago

checksjs v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Checks.js

This is a node package that contains helper functions for validating data in JavaScript. The functions that start with is return a bool and those that start with checkIf throw an error. See 'core' for reference.

Example:

const checks = require('checksjs');

checks.isFunction(arg);

// OR

checks.checkIfFunction(arg1, ...);

Note: not all of the helpers start with 'is' or 'checkIf'. Please see core/README.md for more info.

1.2.0

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago