{"_id":"@npmcli/node-gyp","_rev":"4130875","name":"@npmcli/node-gyp","description":"Tools for dealing with node-gyp packages","dist-tags":{"latest":"5.0.0"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"time":{"modified":"2026-03-01T18:33:04.000Z","created":"2020-09-30T21:07:42.790Z","5.0.0":"2025-10-22T15:30:46.598Z","4.0.0":"2024-09-24T19:13:48.497Z","3.0.0":"2022-10-14T05:23:05.722Z","2.0.0":"2022-04-05T19:31:06.296Z","1.0.3":"2021-10-04T19:49:51.278Z","1.0.2":"2021-02-09T23:59:40.425Z","1.0.1":"2020-10-02T21:03:20.674Z","1.0.0":"2020-09-30T21:07:42.790Z"},"users":{},"author":{"name":"GitHub Inc."},"repository":{"type":"git","url":"git+https://github.com/npm/node-gyp.git"},"versions":{"5.0.0":{"name":"@npmcli/node-gyp","version":"5.0.0","description":"Tools for dealing with node-gyp packages","scripts":{"test":"tap","lint":"npm run eslint","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run eslint -- --fix","snap":"tap","posttest":"npm run lint","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"repository":{"type":"git","url":"git+https://github.com/npm/node-gyp.git"},"keywords":["npm","cli","node-gyp"],"main":"lib/index.js","author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.27.1","tap":"^16.0.1"},"engines":{"node":"^20.17.0 || >=22.9.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.27.1","publish":true},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"201dddb853f8cf96b0d89e461ada6ee8fdf202a4","_id":"@npmcli/node-gyp@5.0.0","bugs":{"url":"https://github.com/npm/node-gyp/issues"},"homepage":"https://github.com/npm/node-gyp#readme","_nodeVersion":"22.20.0","_npmVersion":"11.6.2","dist":{"shasum":"35475a58b5d791764a7252231197a14deefe8e47","size":1597,"noattachment":false,"key":"/@npmcli/node-gyp/-/@npmcli/node-gyp-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/node-gyp/download/@npmcli/node-gyp-5.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:effacef0-217d-407e-94fb-273f12141f9c"}},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-gyp_5.0.0_1761147046419_0.8728261081900905"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-22T15:30:46.598Z","publish_time":1761147046598,"_source_registry_name":"default","_cnpm_publish_time":1761147046598},"4.0.0":{"name":"@npmcli/node-gyp","version":"4.0.0","description":"Tools for dealing with node-gyp packages","scripts":{"test":"tap","lint":"npm run eslint","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run eslint -- --fix","snap":"tap","posttest":"npm run lint","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"repository":{"type":"git","url":"git+https://github.com/npm/node-gyp.git"},"keywords":["npm","cli","node-gyp"],"main":"lib/index.js","author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.23.3","tap":"^16.0.1"},"engines":{"node":"^18.17.0 || >=20.5.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.3","publish":true},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/node-gyp@4.0.0","gitHead":"23e389f63e7816ffcfb8543244463def574a1e69","bugs":{"url":"https://github.com/npm/node-gyp/issues"},"homepage":"https://github.com/npm/node-gyp#readme","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"shasum":"01f900bae62f0f27f9a5a127b40d443ddfb9d4c6","size":1598,"noattachment":false,"key":"/@npmcli/node-gyp/-/@npmcli/node-gyp-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/node-gyp/download/@npmcli/node-gyp-4.0.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-gyp_4.0.0_1727205228283_0.27008962742823894"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-24T19:13:48.497Z","publish_time":1727205228497,"_source_registry_name":"default","_cnpm_publish_time":1727205228497},"3.0.0":{"name":"@npmcli/node-gyp","version":"3.0.0","description":"Tools for dealing with node-gyp packages","scripts":{"test":"tap","lint":"eslint \"**/*.js\"","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run lint -- --fix","snap":"tap","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/npm/node-gyp.git"},"keywords":["npm","cli","node-gyp"],"main":"lib/index.js","author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^3.0.1","@npmcli/template-oss":"4.5.1","tap":"^16.0.1"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.5.1"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"5c0a25553dfcb6b7336e625f4b3f5e8e5ac2239f","bugs":{"url":"https://github.com/npm/node-gyp/issues"},"homepage":"https://github.com/npm/node-gyp#readme","_id":"@npmcli/node-gyp@3.0.0","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"shasum":"101b2d0490ef1aa20ed460e4c0813f0db560545a","size":1063,"noattachment":false,"key":"/@npmcli/node-gyp/-/@npmcli/node-gyp-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/node-gyp/download/@npmcli/node-gyp-3.0.0.tgz"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-gyp_3.0.0_1665724985546_0.6868518195029119"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-19T12:32:24.918Z","publish_time":1665724985722,"_cnpm_publish_time":1665724985722},"2.0.0":{"name":"@npmcli/node-gyp","version":"2.0.0","description":"Tools for dealing with node-gyp packages","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","lint":"eslint \"**/*.js\"","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run lint -- --fix","snap":"tap","posttest":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/npm/node-gyp.git"},"keywords":["npm","cli","node-gyp"],"main":"lib/index.js","author":{"name":"GitHub Inc."},"license":"ISC","devDependencies":{"@npmcli/eslint-config":"^3.0.1","@npmcli/template-oss":"3.2.2","tap":"^16.0.1"},"engines":{"node":"^12.13.0 || ^14.15.0 || >=16.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"3.2.2"},"gitHead":"a241403f58f33bb21bfd06baeabf668d4b6d7247","bugs":{"url":"https://github.com/npm/node-gyp/issues"},"homepage":"https://github.com/npm/node-gyp#readme","_id":"@npmcli/node-gyp@2.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.6.0","dist":{"shasum":"8c20e53e34e9078d18815c1d2dda6f2420d75e35","size":1067,"noattachment":false,"key":"/@npmcli/node-gyp/-/@npmcli/node-gyp-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/node-gyp/download/@npmcli/node-gyp-2.0.0.tgz"},"_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-gyp_2.0.0_1649187066070_0.45782849244173685"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-05T20:46:18.873Z","publish_time":1649187066296,"_cnpm_publish_time":1649187066296},"1.0.3":{"name":"@npmcli/node-gyp","version":"1.0.3","description":"Tools for dealing with node-gyp packages","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"repository":{"type":"git","url":"git+https://github.com/npm/node-gyp.git"},"keywords":["npm","cli","node-gyp"],"main":"lib/index.js","author":{"name":"Brian Jenkins","email":"bonkydog@bonkydog.com"},"license":"ISC","tap":{"check-coverage":true,"coverage-map":"map.js"},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.6","tmp":"^0.2.1"},"gitHead":"1e2390a4336dd39fa2b2387583e6d4527e3b7866","bugs":{"url":"https://github.com/npm/node-gyp/issues"},"homepage":"https://github.com/npm/node-gyp#readme","_id":"@npmcli/node-gyp@1.0.3","_nodeVersion":"14.18.0","_npmVersion":"7.24.1","dist":{"shasum":"a912e637418ffc5f2db375e93b85837691a43a33","size":939,"noattachment":false,"key":"/@npmcli/node-gyp/-/@npmcli/node-gyp-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/node-gyp/download/@npmcli/node-gyp-1.0.3.tgz"},"_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-gyp_1.0.3_1633376991156_0.8684145853964502"},"_hasShrinkwrap":false,"publish_time":1633376991278,"_cnpm_publish_time":1633376991278},"1.0.2":{"name":"@npmcli/node-gyp","version":"1.0.2","description":"Tools for dealing with node-gyp packages","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"keywords":["npm","cli","node-gyp"],"main":"lib/index.js","author":{"name":"Brian Jenkins","email":"bonkydog@bonkydog.com"},"license":"ISC","tap":{"check-coverage":true,"coverage-map":"map.js"},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.10.6","tmp":"^0.2.1"},"gitHead":"6ab304a5afffb9b116c2b00c798ee1c5f33684a0","_id":"@npmcli/node-gyp@1.0.2","_nodeVersion":"15.3.0","_npmVersion":"7.5.3","dist":{"shasum":"3cdc1f30e9736dbc417373ed803b42b1a0a29ede","size":918,"noattachment":false,"key":"/@npmcli/node-gyp/-/@npmcli/node-gyp-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/node-gyp/download/@npmcli/node-gyp-1.0.2.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-gyp_1.0.2_1612915180301_0.486292494366547"},"_hasShrinkwrap":false,"publish_time":1612915180425,"_cnpm_publish_time":1612915180425},"1.0.1":{"name":"@npmcli/node-gyp","version":"1.0.1","description":"Tools for dealing with node-gyp packages","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"keywords":["npm","cli","node-gyp"],"main":"lib/index.js","author":{"name":"Brian Jenkins","email":"bonkydog@bonkydog.com"},"license":"ISC","tap":{"check-coverage":true,"coverage-map":"map.js"},"devDependencies":{"tap":"^14.10.6","tmp":"^0.2.1"},"gitHead":"391b87a3b45e7457b31211c952bd4693d6c5c243","_id":"@npmcli/node-gyp@1.0.1","_nodeVersion":"14.8.0","_npmVersion":"7.0.0-rc.0","dist":{"shasum":"dedc4ea9b3c6ef207081ebcd82c053ef60edc478","size":637,"noattachment":false,"key":"/@npmcli/node-gyp/-/@npmcli/node-gyp-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/node-gyp/download/@npmcli/node-gyp-1.0.1.tgz"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-gyp_1.0.1_1601672600551_0.7544615018804766"},"_hasShrinkwrap":false,"publish_time":1601672600674,"_cnpm_publish_time":1601672600674},"1.0.0":{"name":"@npmcli/node-gyp","version":"1.0.0","description":"Tools for dealing with node-gyp packages","scripts":{"test":"tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags"},"keywords":["npm","cli","node-gyp"],"main":"lib/index.js","author":{"name":"Brian Jenkins","email":"bonkydog@bonkydog.com"},"license":"ISC","tap":{"check-coverage":true,"coverage-map":"map.js"},"devDependencies":{"tap":"^14.10.6","tmp":"^0.2.1"},"gitHead":"6c1e6255076be3ce1bd7704731719067d8c3d95a","_id":"@npmcli/node-gyp@1.0.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"shasum":"5597d2a27f7629abf35e9f6004b439ac8fb55497","size":629,"noattachment":false,"key":"/@npmcli/node-gyp/-/@npmcli/node-gyp-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/node-gyp/download/@npmcli/node-gyp-1.0.0.tgz"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmUser":{"name":"bonkydog","email":"bonkydog@bonkydog.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-gyp_1.0.0_1601500062675_0.8196100369450328"},"_hasShrinkwrap":false,"publish_time":1601500062790,"_cnpm_publish_time":1601500062790}},"readme":"# @npmcli/node-gyp\n\nThis is the module npm uses to decide whether a package should be built\nusing [`node-gyp`](https://github.com/nodejs/node-gyp) by default.\n\n## API\n\n* `isNodeGypPackage(path)`\n\nReturns a Promise that resolves to `true` or `false` based on whether the\npackage at `path` has a `binding.gyp` file.\n\n* `defaultGypInstallScript`\n\nA string with the default string that should be used as the `install`\nscript for node-gyp packages.\n","_attachments":{},"homepage":"https://github.com/npm/node-gyp#readme","bugs":{"url":"https://github.com/npm/node-gyp/issues"},"license":"ISC"}