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

async-call-rpc

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-call-rpc

A lightweight JSON RPC server & client

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.2K
decreased by-8.19%
Maintainers
1
Weekly downloads
 
Created
Source

Async Call

See the document at ./docs/async-call-rpc.md, or the playground

  • This package ships ES2018 syntax (leave async function untransformed).

  • Runtime requirement: At least ECMAScript 6, globalThis, well known Symbol Symbol.asyncIterator if you use Async Call remote generator function support.

Entry

There are two entry, base or full. The full version support a private JSON RPC extension (The remote ECMAScript async generator AsyncGeneratorCall).

Browser / Deno

import * as full from 'https://unpkg.com/async-call-rpc@latest/out/full.mjs'
import * as base from 'https://unpkg.com/async-call-rpc@latest/out/base.mjs'

Browser (UMD)

Please checkout https://www.jsdelivr.com/package/npm/async-call-rpc?path=out

Node:

// Full version
require('async-rpc-call') // or
import * as RPC from 'async-rpc-call'

// Base version
require('async-rpc-call/base') // or
import * as RPC from 'async-rpc-call/base'

Keywords

FAQs

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

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