Avoid installing optional dependencies

Is it possible to avoid installing the optional dependencies of an npm package when using Npm.depends?