npm CLI to create and manage .gyp files
- Initialize binding.gyp file for you.
- Search all
.c
,.cc
and.cpp
files in the local tree. - Auto include both
nan
andnode-addon-api
.
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm install gyp-cli -g
# or
$ npx gyp-cli --help
When installed globally the gyp
executable will be exposed in your terminal.
$ gyp --help
$ gyp --init
argument | shortcut | description |
---|---|---|
--init | -i | Initialize binding.gyp file |
--update | -u | Update binding.gyp file |
Note: only one argument at a time can be triggered!
MIT