New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gobark/udprpc

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gobark/udprpc

A UDP-based JSON-RPC 2.0 library for peer-to-peer communications with support for ES6 promises

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-72.73%
Maintainers
1
Weekly downloads
 
Created
Source

README

UdpRpc

This is a UDP-based JSON-RPC 2.0 library for peer-to-peer communications with support for ES6 promises.

This library is (nearly) compliant with the JSON-RPC 2.0 Specification http://www.jsonrpc.org/specification.

Missing: Support JSON-RPC batch requests and reponses.

Prerequisites

Install dependencies:

npm install

Development Environment

The code, including tests, is written in TypeScript. The source files are located in the code folder. The tests and related files are located in the tests folder.

The transpiled JavaScript code retains the above structure but resides in the dist folder.

We use npm and Grunt to build the code and run tests. Mocha is our test framework.

Build Process

  • Linting the code
  • Transpiling code from TypeScript to JavaScript.

Run this command to start the build process: npm run build

Test Process

  • Running tests
  • Checking code coverage

Run these commands to execute the tests and coverage respectively: npm test and npm run coverage

This runs all the tests that reside in the dist/tests folder.

Contribution guidelines

Never lower the code coverage thresholds specified in the Gruntfile.

Who do I talk to?

Keywords

FAQs

Package last updated on 20 Aug 2017

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