Socket
Book a DemoInstallSign in
Socket

adhara-schemas

Package Overview
Dependencies
Maintainers
12
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adhara-schemas

Schemas and data structures

0.0.10
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
12
Weekly downloads
 
Created
Source

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

  • git clone git@github.com:AdharaProjects/adhara-schemas.git
  • cd adhara-schemas
  • npm install

Testing

  • npm test

FAQs

Package last updated on 26 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.