Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apimatic/schema

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apimatic/schema

> This library is currently in preview.

  • 0.7.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
34K
increased by10.75%
Maintainers
0
Weekly downloads
 
Created
Source

APIMatic Schema Libary for JavaScript

This library is currently in preview.

Provides utilities for creating schema for different types, along with serialization information.

These schema can later be used to:

  1. Validate data against schema.
  2. Prepare data for serialization to JSON or XML.
  3. Convert deserialized JSON or XML data to the schema type.
  4. Provide strong-typing in TypeScript for untrusted/untyped data.

This library is used by JavaScript SDKs generated by the APIMatic Code Generator.

Builds

The following environments are supported:

  1. Node.js v10+
  2. Bundlers like Rollup or Webpack
  3. Web browsers

To support multiple environments, we export various builds:

EnvironmentUsage
Common.jsImport like this: require('@apimatic/schema').
ES ModuleImport like this: import { /* your imports */ } from '@apimatic/schema'.
Browsers*Use script: https://unpkg.com/@apimatic/schema@VERSION/umd/schema.js
Modern Browsers (supports ESM and uses modern JS)*Use script: https://unpkg.com/@apimatic/schema@VERSION/umd/schema.esm.js

* Don't forget to replace VERSION with the version number.

Note: We discourage importing files or modules directly from the package. These are likely to change in the future and should not be considered stable.

FAQs

Package last updated on 27 Sep 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc