@open-rpc/typings
<center> <span> <img alt="CircleCI branch" src="https://img.shields.io/circleci/project/github/open-rpc/typings/master.svg"> <img src="https://codecov.io/gh/open-rpc/typings/branch/master/graph/badge.svg" /> <img alt="Dependabot status" src=
Last updated a month ago by belfordz .
Apache 2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @open-rpc/typings 
SYNC missed versions from official npm registry.

OpenRPC Typings

CircleCI branch Dependabot status Chat on Discord npm GitHub release GitHub commits since latest release

Installing

npm install @open-rpc/typings

CLI

$ open-rpc-typings --help
Usage: cli [options]

Options:
  -v, --version                     output the version number
  -d, --document [openrpcDocument]  JSON string or a Path/Url pointing to an open rpc schema (default: "./openrpc.json")
  --output-rs [directory]           output dir of rust typings
  --output-ts [directory]           output dir of typescript typings
  --output-go [directory]           output dir of go typings
  --name-rs [file]                  File name of rust typings (default: "./index")
  --name-ts [file]                  File name of typescript typings (default: "./index")
  --name-go [file]                  File name of go typings (default: "./index")
  -h, --help                        output usage information

JS/TS SDK

import OpenRPCTypings from "@open-rpc/typings";


const typings = new OpenRPCTypings(OpenRPCDocument);

await typings.generate()

const rustTypings = typings.toString("rust");

Current Tags

  • 1.6.0                                ...           latest (a month ago)

20 Versions

  • 1.6.0                                ...           a month ago
  • 1.5.0                                ...           2 months ago
  • 1.4.3                                ...           5 months ago
  • 1.4.2                                ...           6 months ago
  • 1.4.1                                ...           6 months ago
  • 1.4.0                                ...           6 months ago
  • 1.3.0                                ...           7 months ago
  • 1.2.1                                ...           7 months ago
  • 1.2.0                                ...           7 months ago
  • 1.1.4                                ...           7 months ago
  • 1.1.3                                ...           7 months ago
  • 1.1.2                                ...           7 months ago
  • 1.1.1                                ...           7 months ago
  • 1.1.0                                ...           7 months ago
  • 1.0.4                                ...           7 months ago
  • 1.0.3                                ...           7 months ago
  • 1.0.2                                ...           7 months ago
  • 1.0.1                                ...           7 months ago
  • 1.0.0                                ...           7 months ago
  • 0.0.0-semantic-release-dev                                ...           7 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 40
Last Day 0
Last Week 20
Last Month 32
Dev Dependencies (8)

Copyright 2014 - 2016 © taobao.org |