Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 623 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 623 Bytes

logo

The lib itself consists of two parts — core.js where's located API reference and core helpers; and <platform-name>.js where is located platform-depended code. Usage:

  1. Copy core.js and node.js to your project.
  2. Import API (default export) from node.js. Example:
    import API from '../api/browser.js';
  3. Call methods directly from API object. Example:
    await API.login("pubkey", "password", "2fa_pin")

That's it. Enjoy :)


udocs