Skip to content

gryor/naio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Build system for node.js native addons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published