Adds the package to optionalDependencies in package.json, meaning installs proceed even if it fails to build or download. Optional packages typically supply platform-specific binaries, and the main package falls back to another build. Remove with npm uninstall as usual.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.