UNPKG

require_optional

Version:

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

3 lines (2 loc) 165 B
# 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