Node.js bindings for Telco.
- Node.js 8.x or newer
Install from binary:
npm install
Install from source:
TELCO=/absolute/path/to/fully/compiled/telco/repo npm install
- Follow Setting up the experiment to produce a binary.
- Run the binary.
- Take note of the memory address the binary gives you when run.
- Run any of the examples, passing the name of the binary as a parameter, and the memory address as another.
(Note: only some examples use the memory address)
The prebuild tool is used to handle building from source and packaging.
To recompile only the C++ files that have changed, first run the "Install from source" step above, then simply run:
make -C build
npm run prebuild