JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7543770
  • Score
    100M100P100Q244729F
  • License ISC

Tools for dealing with node-gyp packages

Package Exports

  • @npmcli/node-gyp
  • @npmcli/node-gyp/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@npmcli/node-gyp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@npmcli/node-gyp

This is the module npm uses to decide whether a package should be built using 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.