New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

constraintjs

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

constraintjs

Constraint library for JavaScript


Version published
Maintainers
1
Created

ConstraintJS

Documentation

For documentation or the full ConstraintJS API, visit cjs.from.so/.

Downloads

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 .
grunt

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 grunt 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 grunt in the instructions above to grunt dev:

npm install .
grunt dev

FAQs

Package last updated on 23 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts