0.5.0 • Published 4 years ago

napiutils v0.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

$package_name

Actions Status NPM downloads

Simplified NAPI module development.

This project provide a set of C macros to aid in the development of NAPI modules.

Usage

to create a new NAPI module named examplemodule type:

npx nativeutils create examplemodule

This will create a new directory containing a skeleton of a new NAPI module:

  • includes/examplemodule.h - an header containing all the internally exported functions of your module.
  • examplemodule.c - a skeleton of what will be the entry point of your module.
  • arch/linux/platform.c - a set of directory that contains code specific for the various platforms.
  • arch/darwin/platform.c
  • arch/windows/platform.c
  • package.json - a skeleton of the package file.
  • binding.gyp - a skeleton of the gyp-node configuration file.

In the new NAPI module, you can make use of napiutils C macro and its binary tools to simplify develeopment.

API

Seet DOCS folder for documentation

Install

With npm installed, run

npm install --save napiutils

See Also

License

MIT

0.5.0

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.2

4 years ago