包详细信息

require_optional

christkv1.4mApache-2.01.0.1

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

optional, require, optionalPeerDependencies

自述文件

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

更新日志

1.0.1 03-02-2016

  • Fix dependency resolution issue when a component in peerOptionalDependencies is installed at the level of the module declaring in peerOptionalDependencies.

1.0.0 03-02-2016

  • Initial release allowing us to optionally resolve dependencies in the package.json file under the peerOptionalDependencies tag.