0.0.9 • Published 7 years ago

elastos_carrier_addon v0.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago