0.0.10 • Published 5 years ago

adhara-schemas v0.0.10

Weekly downloads
34
License
-
Repository
github
Last release
5 years ago

adhara-schemas

Define schemas and data structures that can be shared across Adhara components.

Schemas are defined using Joi and can be used to validate javascript objects against. It provides methods to easily validate common data types, such as e-mail addresses and phone numbers, or more complex data structures like REST API request and response data.

Schemas are indexed by their path, with general data structures being placed at the root.

Getting started

Prerequisites

Node.js needs to be installed.

Installing

  1. git clone git@github.com:AdharaProjects/adhara-schemas.git
  2. cd adhara-schemas
  3. npm install

Testing

  1. npm test
0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago