ngx-fastboot is an Angular library for dynamically loading configuration at runtime, optimizing startup performance by lazy-loading providers. The current stable version is 2.1.0, released February 2025. It requires Angular 19 and Node >=20.10.0. Key differentiators: unlike typical static environment files, ngx-fastboot allows configurations to be loaded asynchronously via HTTP or custom sources and bundled into a separate chunk for faster initial loads. It provides fastBootstrapApplication, withProviders, and lazyRootComponent helpers. The library ships TypeScript types and follows Angular's standalone component pattern.
npm install ngx-fastbootNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Bootstraps an Angular app with lazy configuration loaded via HTTP. Uses fastBootstrapApplication and withProviders to defer config providers.
Upgrade to Angular 19 or stay on v1.x for Angular 18 support.
Use fastBootstrapApplication instead of bootstrapApplication when using ngx-fastboot.
Use withProviders instead of provideFastBoot.
Wrap config loader in withProviders() and include in providers array.
Ensure config loader functions are passed to withProviders, not called directly in providers array.
Use withProviders to load config before app bootstrap, and handle fetch errors.
No dependency data recorded yet.