@simbachain/libsimba-js
v0.5.8
Published
libsimba-js is a library simplifying the use of SIMBAChain APIs. We aim to abstract away the various blockchain concepts, reducing the necessary time needed to get to working code.
Downloads
11
Readme
libsimba-js is a library simplifying the use of SIMBAChain APIs. We aim to abstract away the various blockchain concepts, reducing the necessary time needed to get to working code.
🏠 Homepage
📝 Documentation
Install
npm install @simbachain/libsimba-js
Usage
- ES2105 module import
import * as libsimba from '@simbachain/libsimba-js';
libsimba.getSimbaInstance(...);
- CommonJS module require
const libsimba = require('@simbachain/libsimba-js');
libsimba.getSimbaInstance(...);
- AMD module require
require(['@simbachain/libsimba-js'], function (libsimba) {
libsimba.getSimbaInstance(...);
});
<script>
tag import
<!doctype html>
<html>
...
<script src="./dist/libsimba.js"></script>
<script>
// ...
// Global variable
libsimba.getSimbaInstance(...);
// Property in the window object
window.libsimba.getSimbaInstance(...);
// ...
</script>
</html>
Examples
See here
Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
License
Copyright © 2019 SIMBAChain Inc. This project is MIT licensed.