# json-schema-suite

> JSON Schema components bundled

Latest version **0.0.2** (published 2013-10-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install json-schema-suite
pnpm add json-schema-suite
yarn add json-schema-suite
bun add json-schema-suite
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2013-10-16 |
| First published | 2013-10-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Eric Gjertsen |
| Maintainers | ericgj |

## Links

- npm: https://www.npmjs.com/package/json-schema-suite
- Repository: https://github.com/ericgj/json-schema-suite
- npm.io page: https://npm.io/package/json-schema-suite

## Dependencies (6)

- [is-browser](https://npm.io/package/is-browser.md) https://github.com/forbeslindesay/is-browser/tarball/master
- [superagent](https://npm.io/package/superagent.md) https://github.com/visionmedia/superagent/tarball/master
- [json-schema-core-component](https://npm.io/package/json-schema-core-component.md) https://github.com/ericgj/json-schema-core/tarball/master
- [json-schema-agent-component](https://npm.io/package/json-schema-agent-component.md) https://github.com/ericgj/json-schema-agent/tarball/master
- [json-schema-hyper-component](https://npm.io/package/json-schema-hyper-component.md) https://github.com/ericgj/json-schema-hyper/tarball/master
- [json-schema-valid-component](https://npm.io/package/json-schema-valid-component.md) https://github.com/ericgj/json-schema-valid/tarball/master

## Recent versions

- 0.0.2 (latest) — 2013-10-16

## README

# json-schema-suite

  JSON Schema components bundled for easy use.

  Configures the Schema with validation and hyperlink plugins, and exposes
  the Agent, as well as Schema and Validator for further configuration.

## Installation

component:

    $ component install ericgj/json-schema-suite

npm:
    $ npm install json-schema-suite


## Example

  ```javascript

  var suite = require('json-schema-suite')
    , Agent = suite.Agent
    , Validator = suite.Validator
    , listener = Validator.emitter()

  listener.on('error', function(e){
    console.error(e);
  })

  var agent = new Agent()
  agent.base(window.location.origin);

  agent.get('http://my.site/api', function(err,corr){
    if (corr.validate()) {
      //...
    }
  })


  ```

## API

See [json-schema-agent][agent], [json-schema-valid][valid],
[json-schema-core][core] for details.

## Running tests

### In browser

  ```sh
  $ node test/server.js
  ```
  And browse `http://localhost:3000`.

### In node

  ```sh
  $ node test/server.js &
  $ npm test
  ```

## License

  MIT


[agent]: https://github.com/ericgj/json-schema-agent
[valid]: https://github.com/ericgj/json-schema-valid
[core]: https://github.com/ericgj/json-schema-core

---
_Source: https://npm.io/package/json-schema-suite · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
