Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

barrister

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barrister

Client and server bindings for Barrister RPC

latest
Source
npmnpm
Version
0.1.8
Version published
Weekly downloads
22
-8.33%
Maintainers
1
Weekly downloads
 
Created
Source

Barrister Javascript Bindings

Develop type safe contracts for your web services!

  • Usable from Node.js (client and server) or a web browser (client only)
  • For an overview of Barrister RPC, visit: http://barrister.bitmechanic.com/

Installation

For Node.js:

npm install barrister

For web browsers:

# download either of these:
curl http://barrister.bitmechanic.com/dist/js/latest/barrister.browser.js  > barrister.browser.js
curl http://barrister.bitmechanic.com/dist/js/latest/barrister.browser.min.js > barrister.browser.min.js

# download Crockford's json2.min.js to provide JSON support
curl http://barrister.bitmechanic.com/dist/js/latest/json2.min.js > json2.min.js

Demo

https://github.com/coopernurse/barrister-demo-contact/tree/master/js

  • Includes a Node.js server implementation using Express
  • Includes both Node.js and browser based clients you can test against the server

More Information

License

Distributed under the MIT license. See LICENSE file for details.

Release / Tag notes

Note to self on how to tag release

# Edit package.json, bump version, then run:

make clean all
git add -u
git commit -m "bump npm v0.1.0"
git tag -a v0.1.0 -m "version 0.1.0"
git push --tags
npm publish

Keywords

rpc

FAQs

Package last updated on 09 Jun 2014

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