Arguments checking in native modules for Node.js
This project contains some helper utilities that make native addon development a bit more easier.
Example
Usage
Simply add NAN-Check as a dependency in the package.json of your Node addon:
$ npm install --save nan nan-check
Pull in the path to NAN and NAN-Check in your binding.gyp so that you can use #include <nan-check.h>
in your .cpp files:
"include_dirs" :
This works like a -I<path-to-NAN-Check>
when compiling your addon.
API
TODO: Write
Tests
To run the NAN-Check tests do:
npm installnpm run-script rebuild-testsnpm test
Or just:
npm installmake test
Licence & copyright
Copyright (c) 2015 Ievgen Khvedchenia.
Native Abstractions for Node.js is licensed under an MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.