tinynative

Simplest possible native module


License
ISC
Install
npm install tinynative@1.0.3

Documentation

node-tinynative

Smallest possible Node.js native module. Exposes a single function that prints to console

Uses the node::AtExit() function to expose issue with Electron 1.8.

To use:

npm install tinynative
var tinynative = require('tinynative');
tinynative("hello there");  // prints out "tinynative: hello there"

To develop:

git clone https://github.com/todbot/node-tinynative
cd node-tinynative
npm install
node-gyp rebuild