JSPM

require_optional

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 390748
  • Score
    100M100P100Q168816F
  • License Apache-2.0

Allows you declare optionalPeerDependencies that can be satisfied by the top level module but ignored if they are not.

Package Exports

  • require_optional

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 (require_optional) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

require_optional

Work around the problem that we do not have a optionalPeerDependencies concept in node.js making it a hassle to optionally include native modules