Newtonian Physics Mockumentary
    Wondering what’s next for npm?Check out our public roadmap! »

    adhara-schemas

    0.0.10 • Public • Published

    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

    Keywords

    none

    Install

    npm i adhara-schemas

    DownloadsWeekly Downloads

    0

    Version

    0.0.10

    License

    none

    Unpacked Size

    84.8 kB

    Total Files

    23

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar