Can NPM suggest to install additional and optional packages after npm install
command? Something along the lines of how it is done in Composer?
There is a optionalDependencies
entry, but its description looks like a propose of this option is slightly different.