by soney

Constraint library for JavaScript

205 Stars 16 Forks Last release: over 2 years ago (v0.9.7) MIT License 640 Commits 15 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:



For documentation or the full ConstraintJS API, visit


Building from source

If you'd rather build from this repository, you must install node.js and Grunt. Then, from inside the constraintjs source directory, run:

npm install .

The CJS Library will appear in the build/ directory.

Notes on Development

Make changes to the files in src/ instead of build/. After you change a file, be sure to run

to re-build the files in build/. By default, the sourcemap generated for build/cjs.min.js links to the build/cjs.js file. To build a sourcemap that links back to the original src/ files (significantly more useful for development), change
in the instructions above to
grunt dev
npm install .
grunt dev

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.