0.0.9 • Published 6 years ago

elastos_carrier_addon v0.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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 demo for more detail.

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago