Skip to content

hudson-taylor/ht-tv4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ht-tv4

This library lets you use JSON schemas with hudson-taylor.

Requires HT >6.0.0

Example

var httv4 = require('ht-tv4');

// setup your ht service and stuff here

var schema = httv4({
  "items": {
    "type": "boolean"
  }
});

service.on("echo", schema, function(data, callback) {
  return callback(null, data);
});

License

MIT

About

Schema wrapper for tv4 (JSON Schema)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published