elca

0.0.15 • Public • Published

Introduce

elastos_carrier addon is the Node.js Add-on for Elastos Carrier. It allows Javascript code to call Carrier C++ functions.

Installation

nstall with npm:

    npm install elastos_carrier_addon

Example

    const carrierSdk = require('elastos_carrier_addon');
    console.log(carrierSdk.getVersion());
 
    var carrier = carrierSdk.createObject(opts, callbacks);
    carrier.on("idle", idle_callback); //add idle event
    carrier.on("idle", null); //delete idle event
 
    carrier.run();
[see more.](https://github.com/elastos/Elastos.NET.Carrier.Nodejs.SDK/tree/master/example/demo)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.15
    1
    • latest

Version History

Package Sidebar

Install

npm i elca

Weekly Downloads

1

Version

0.0.15

License

MIT

Unpacked Size

3.55 MB

Total Files

6

Last publish

Collaborators

  • kuit