0.0.6 • Published 9 years ago

naio v0.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Naio

Build system for node.js native addons

This will only build c/c++ files in src directory.

Install

npm i --save naio nan

Example

naio-test

How to use

Check out the example above

  1. Install
  2. Add to package.json
  3. "libraries": "v8", "all-other-libraries-you-need"
  4. "scripts": {"build": "make -f node_modules/naio/makefile", "postinstall": "npm run build"}
  5. Execute npm run build
  6. Now you can require/import like this
  7. var mylibrary = require('./build/debug.node') // or release.node
  8. import mylibrary from './build/debug.node'; // or release.node
0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago