JavaScript client library for StockDB
The dist folder contains
stockdb.js
with the component exported in thewindow.StockDB
object.
<script src="path/to/hprose-html5.js"></script>
<script src="path/to/stockdb.js"></script>
<script>
var client = StockDB.New("http://localhost:8765", "username:password");
</script>
$ npm install --save stockdb
var StockDB = require('stockdb');
var client = StockDB.New("http://localhost:8765", "username:password");
import StockDB from 'stockdb';
const client = StockDB.New('http://localhost:8765', 'username:password');