Constraint.JSalpha

A library for writing clearer interactive code.

ConstraintJS is a JavaScript library for writing constraints — relationships that are declared once and maintained automatically. ConstraintJS runs on both client-side (Chrome, Firefox, Safari) and server-side (Node.js)

Shorter, cleaner code

ConstraintJS automatically maintains relationships between variables and DOM elements so that you don't have to.

Plays with others

ConstraintJS allows "hooks" to be written for third party libraries. In addition, ConstraintJS works with asynchronous libraries.

Simple syntax

ConstraintJS was designed to be integrated with any code base requiring minimal modification.