Skip to content

coopernurse/barrister-js

Repository files navigation

Barrister Javascript Bindings

Develop type safe contracts for your web services!

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

About

node.js and browser Javascript bindings for Barrister RPC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages