Write Node.js addons in Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.eslintrc.js
.gitignore
.travis.yml
LICENSE
Makefile
README.md
binding.gyp
cli.js
main.go
main.js
package-lock.json
package.json

README.md

g8 Build Status

Write Node.js addons in Go.

For the API refrence, look at g8.h. For an example look at main.go.

Getting Started

First, you need to install g8.

$ npm install -g Hackzzila/g8

Then you need to make a new g8 project.

$ mkdir hello-world
$ cd hello-world
$ g8 init

Then you can build your project.

$ make

Then you can run main.js.

$ node main.js