@simbachain/libsimba-js

0.5.8 • Public • Published

Welcome to libsimba-js

npm Documentation License: MIT azure

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.

Package Sidebar

Install

npm i @simbachain/libsimba-js

Weekly Downloads

3

Version

0.5.8

License

MIT

Unpacked Size

25.5 MB

Total Files

199

Last publish

Collaborators

  • brendanpbirch
  • keyz182
  • doctor.zob
  • ian.harvey