NodeJs wrapper around Waku
The Waku node binary is generated in a shape of a shared library, libwaku.so. This library is currently created from
the nwaku
repository, a.k.a. "Nim Waku" (vendor dependency.)
On the other hand, the libwaku.so
library is wrapped to NodeJs
by means of the node-gyp
utility.
node-gyp is required to be installed in the system.
- Run
npm run prepare-package
- Run
npm run build-libwaku
(step required to build the libwaku.so library) - Run
npm run build-gyp
- Run
npm run build-package
Run npm run publish-package
ℹ️ See the package.json file for details about npm commands definitions.