README.md more info
This commit is contained in:
parent
908ff85e75
commit
351ed8102e
12
README.md
12
README.md
|
@ -1,16 +1,18 @@
|
||||||
|
|
||||||
## Intro
|
## Intro
|
||||||
|
|
||||||
This is a NodeJs wrapper around Waku
|
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.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
node-gyp is required to be installed in the system.
|
node-gyp is required to be installed in the system.
|
||||||
|
|
||||||
The following commands should be run to install npm dependencies:
|
|
||||||
|
|
||||||
cd src && npm install bindings
|
|
||||||
|
|
||||||
## Create a package
|
## Create a package
|
||||||
|
|
||||||
1. Run `npm run prepare-package`
|
1. Run `npm run prepare-package`
|
||||||
|
|
Loading…
Reference in New Issue