pnpmfile-check

Add to your pnpmfile.js readPackage hook.

Usage no npm install needed!

<script type="module">
  import pnpmfileCheck from 'https://cdn.skypack.dev/pnpmfile-check';
</script>

README

Add to your pnpmfile.js readPackage hook.

Let's you know which hooks are available for packages that don't support pnpm out of the box.

'use strict'
module.exports = {
  hooks: {
    readPackage,
  },
}

function readPackage(pkg) {
  require('pnpmfile-check')(pkg)
}