Skip to content

coopernurse/barrister-js

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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