An example Node.js n-api module
Clone or download
Latest commit c42058f Mar 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore first commit Mar 30, 2018
.travis.yml fix ci Mar 30, 2018
LICENSE first commit Mar 30, 2018
README.md fix ci Mar 30, 2018
a_napi_example.c first commit Mar 30, 2018
appveyor.yml first commit Mar 30, 2018
binding.gyp first commit Mar 30, 2018
example.js first commit Mar 30, 2018
index.js first commit Mar 30, 2018
package.json 1.0.0 Mar 30, 2018
test.js first commit Mar 30, 2018

README.md

a-native-example

An example Node.js n-api module

npm install a-napi-example

Used to showcase prebuilds

build status Build status

All prebuilds are build on CI and afterwards downloaded and published in the npm tarball. See prebuildify-ci for more.

Usage

var print = require('a-napi-example')

print('hello world') // will print "hello world" from C

License

MIT