Socket
Book a DemoInstallSign in
Socket

@requestnetwork/data-format

Package Overview
Dependencies
Maintainers
8
Versions
704
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@requestnetwork/data-format

Data format for the Request Network protocol.

0.19.9-next.0
Source
npmnpm
Version published
Weekly downloads
84
-63.79%
Maintainers
8
Weekly downloads
 
Created
Source

@requestnetwork/data-format

@requestnetwork/data-format is a typescript library part of the Request Network protocol. It is a JSON Schema library providing standard for the data of the Request Network protocol. It also provide a javascript entry point to validate a given JSON.

Installation

npm install @requestnetwork/data-format

Usage

import * as dataFormat from '@requestnetwork/data-format';

let result = data - format.validate(A_JSON_OBJECT);

if (!result.valid) {
  // use the errors from result.errors
}

Available JSON Schema

NameLast versionLast versionDescription
Invoicernf_invoice0.0.3Format to create an invoice

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Read the contributing guide

License

MIT

Keywords

request

FAQs

Package last updated on 24 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

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.