Just going through the hello world at https://neon-bindings.com/docs/hello-world
Go to file
AJ ONeal c24b5ba8d4 initial commit 2018-12-13 23:24:25 -07:00
lib initial commit 2018-12-13 23:24:25 -07:00
native initial commit 2018-12-13 23:24:25 -07:00
.gitignore initial commit 2018-12-13 23:24:25 -07:00
README.md initial commit 2018-12-13 23:24:25 -07:00
package.json initial commit 2018-12-13 23:24:25 -07:00

README.md

hello

I wanted to try out neon (rust bindings for node.js), so I started reading the neon guide and spun this up as my playground.

There's probably not too much interesting here, but if you look in native/src/lib.rs you'll see the examples I've been trying out.

npm install -g neon
git clone https://git.coolaj86.com/coolaj86/hello.neon.js.git
pushd hello.neon.js/
neon build --release
node
var hello = require('.');
console.log(hello);

hello.any();