Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm npm npm

JavaScript client library for StockDB

Example

simple

Instllation

Browser globals

The dist folder contains stockdb.js with the component exported in the window.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

$ npm install --save stockdb

CommonJS

var StockDB = require('stockdb');
var client = StockDB.New("http://localhost:8765", "username:password");

ES6

import StockDB from 'stockdb';

const client = StockDB.New('http://localhost:8765', 'username:password');

Reference

Official Repos

Document

About

JavaScript client library for StockDB

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages