Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 972 Bytes

lwnode-modules.md

File metadata and controls

32 lines (21 loc) · 972 Bytes

LWNode modules

Build modules

LWNode supports special modules for Tizen. To build them, use the command below.

$ gbs -c .github/gbs.conf build -A arm7l --packaging-dir modules/packages/packaging --include-all --incremental

You can find build result file in <lwnode_project_path>/out/modules/tizen.

Install modules

In order to use these modules, need to install a lwnode-modules-x.x.x-x.armv7l.rpm on your device.

rpm -Uvh --nodeps --force lwnode-modules-1.0.0-1.armv7l.rpm

You can load modules in your app. For example,

const gmainLoop = require('gmain-loop');

To include a module in your app without installing the module globally, copy the built <module_name>.node file from <lwnode_project_path>/out/modules/tizen.

Supported modules