Socket
Book a DemoInstallSign in
Socket

apex

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apex

Work In Progress

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
22
144.44%
Maintainers
1
Weekly downloads
 
Created
Source

apex

a library for building things

apex/schema

import { Schema } from 'apex/schema';

Methods:

Schema.validate(schema, data)

validates data against the given schema

Schema.getPath(schema, data, path)

returns { schema, value } for the given 'path'

Schema.get(schema, data, path)

returns the nested value at 'path'

Schema.set (schema, data, path, value)

sets the nested value at 'path'

FAQs

Package last updated on 01 Jan 2020

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