1.0.12 • Published 4 years ago
db-client v1.0.12
db-client
A client for access db in browser. Based on socket.io.
Features
- Commit any data fetching function in browser
- Based on WebSocket
Browser Support
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | 10 ✔ |
Installing
Using npm:
$ npm install db-client
Using bower:
Using yarn:
$ yarn add db-client
API
// import main object
import dbClient from 'db-client
// set config before use dbClient
dbClient.setConfig([options]);
options: {
url: '',
end_point: '', // required
sign_params: {} // required
}