UNPKG

acebase-client

Version:

Client to connect to an AceBase realtime database server

18 lines (17 loc) 712 B
/* * This file is used to generate a browser bundle to use as an include (re)generate it with: npm run browserify * To use AceBaseClient in the browser: <script type="text/javascript" src="dist/browser.min.js"></script> <script type="text/javascript"> const db = new AceBaseClient({ dbname: 'dbname', host: 'localhost', port: 3000, https: false }); db.ready(() => { // Ready to do some work }) </script> */ import * as acebaseclient from './index.js'; window.acebaseclient = acebaseclient; window.AceBaseClient = acebaseclient.AceBaseClient; // Shortcut to AceBaseClient export * from './index.js'; //# sourceMappingURL=browser.js.map