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

@requestnetwork/data-format

Package Overview
Dependencies
Maintainers
0
Versions
671
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.8.1-next.757
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
555
decreased by-26.29%
Maintainers
0
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

FAQs

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