https://github.com/npm/node-gyp
Tools for dealing with node-gyp packages
https://github.com/npm/node-gyp
npm-cli
Last synced: about 1 year ago
JSON representation
Tools for dealing with node-gyp packages
- Host: GitHub
- URL: https://github.com/npm/node-gyp
- Owner: npm
- License: isc
- Created: 2020-09-30T21:06:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T14:29:50.000Z (about 1 year ago)
- Last Synced: 2025-04-09T19:16:31.860Z (about 1 year ago)
- Topics: npm-cli
- Language: JavaScript
- Homepage:
- Size: 4.7 MB
- Stars: 8
- Watchers: 7
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# @npmcli/node-gyp
This is the module npm uses to decide whether a package should be built
using [`node-gyp`](https://github.com/nodejs/node-gyp) by default.
## API
* `isNodeGypPackage(path)`
Returns a Promise that resolves to `true` or `false` based on whether the
package at `path` has a `binding.gyp` file.
* `defaultGypInstallScript`
A string with the default string that should be used as the `install`
script for node-gyp packages.