This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
jsmf-check with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
JSMF is a library that can be used to check that given data validate some rules. Its goal is to provide an error report as precise as possible when some rules fail. It was initially developped to validate rules of JSMF models but can be used in any other context. It was developped with the underlying idea of providing an esay way to specify forall and exists properties for data.
From npm :
npm install email@example.com:jsmf/jsmf-check.git
See the wiki documentation