Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@picahq/validator

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@picahq/validator

A validator for the integrationos common model representations

latest
Source
npmnpm
Version
0.0.0-kakashi-021c914c4206bdc79e8643b1812c06b45ff858a0
Version published
Maintainers
4
Created
Source

System Validator

Description

The IOs common model validator is a Schema based validator that tailored for the IOs common model. It is designed to check with rigor the data that is being received from our unified API.

Installation

npm install @picahq/validator

Sometimes you may need to install the @picahq-playground/common package as well as it may not install peer dependencies automatically.

npm install @picahq/common effect @effect/cli @effect/typeclass @effect/platform @effect/platform-node @effect/printer-ansi @effect/schema

Usage

This package exposes three methods:

  • validate - This method is used to validate the data against a schema.

  • validateOrThrow - This method is used to validate the data against a schema and throw an error if the data is invalid.

  • calculate - This method is used to calculate how much data has been lost during the transformation.

FAQs

Package last updated on 27 Jan 2025

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