Skip to main content

Home > @microsoft/rush-lib > NpmOptionsConfiguration

NpmOptionsConfiguration class

Options that are only used when the NPM package manager is selected.

export declare class NpmOptionsConfiguration extends PackageManagerOptionsConfigurationBase
Extends: [PackageManagerOptionsConfigurationBase](/pages/rush-lib.packagemanageroptionsconfigurationbase)


It is valid to define these options in rush.json even if the NPM package manager is not being used.

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the NpmOptionsConfiguration class.