Skip to content

star-collector/generator-native-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-native-addon

alt tag

Humble native addon generator for Yeoman. Allows to generate a native Node.js addon using N-API, Nan or without them.

Installation

	$ npm install -g generator-native-addon

Usage

	$ yo native-addon

Structure

Generated project has the following structure:

	.
	├── ./binding.gyp # Compilation settings
	├── ./example.js # Example file showing your addon's functionality.
	├── ./index.js # This file exports your addon.
	├── ./package.json
	├── ./README.md
	└── ./src # C or C++ source code from which your native addon will be generated.
	    └── ./src/[name].cpp

About

Humble native addon generator for Yeoman. Allows to generate a native addon using Nan or without it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published