tmpfs / async-validate

Asynchronous type validation for node and the browser
Other
314 stars 45 forks source link

Readme.md usage is incorrect #35

Closed ghost closed 8 years ago

ghost commented 8 years ago

It appears that the README.md is using mdp to generate the readme from the files in doc/. I took a look at doc/usage.js. And it shows the following code below

var Schema = require('..')
  , descriptor = {name: {type: "string", required: true}}

I believe it should be

var Schema = require('async-validate')
  , descriptor = {name: {type: "string", required: true}}

I will modify doc/usage.js and do a PR.