krg7880 / json-schema-generator

Generates draft v4 schema from a local file or a remote JSON url.
MIT License
174 stars 53 forks source link

Can it be used in nodejs program #5

Closed RaghavendhraK closed 9 years ago

RaghavendhraK commented 9 years ago

I did npm install json-schema-generator, then added this line of code. schemaGen = require 'json-schema-generator';

I am getting the Error: Cannot find module 'pretty-data'.

It seems to be pretty-data needs to be moved from dev-dependencies to dependencies in package.json.

Thanks, Raghu

krg7880 commented 9 years ago

This should be resolved now! Thanks for the feedback