1'use strict' 2module.exports = isOptDep 3 4function isOptDep (node, name) { 5 return node.package && 6 node.package.optionalDependencies && 7 node.package.optionalDependencies[name] 8} 9