Interface NpmConfigOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NpmConfigOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.199Z") @Stability(Experimental) public interface NpmConfigOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Options to configure the local NPM config.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNpmConfigOptions.BuilderA builder forNpmConfigOptionsstatic classNpmConfigOptions.Jsii$ProxyAn implementation forNpmConfigOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static NpmConfigOptions.Builderbuilder()default BooleangetOmitEmpty()(experimental) Omits empty objects and arrays.default StringgetRegistry()(experimental) URL of the registry mirror to use.
-
-
-
Method Detail
-
getOmitEmpty
@Stability(Experimental) @Nullable default Boolean getOmitEmpty()
(experimental) Omits empty objects and arrays.Default: false
-
getRegistry
@Stability(Experimental) @Nullable default String getRegistry()
(experimental) URL of the registry mirror to use.You can change this or add scoped registries using the addRegistry method
Default: - use npmjs default registry
-
builder
@Stability(Experimental) static NpmConfigOptions.Builder builder()
- Returns:
- a
NpmConfigOptions.BuilderofNpmConfigOptions
-
-