lib/index.js
function parse(any, opts) {
  var schemaOrProtocol = specs.read(any);
  return schemaOrProtocol.protocol ?
    services.Service.forProtocol(schemaOrProtocol, opts) :
    types.Type.forSchema(schemaOrProtocol, opts);
}
function parse(any, opts) {
  var schemaOrProtocol = specs.read(any);
  return schemaOrProtocol.protocol ?
    services.Service.forProtocol(schemaOrProtocol, opts) :
    types.Type.forSchema(schemaOrProtocol, opts);
}
function parse ( any , opts ) { var schemaOrProtocol = specs . read ( any ) ; return schemaOrProtocol . protocol ? services . Service . forProtocol ( schemaOrProtocol , opts ) : types . Type . forSchema ( schemaOrProtocol , opts ) ; }
Parse a schema and return the corresponding type or service.
Parse a schema and return the corresponding type or service .