CLI tool to build Angular (2+) libraries ready for npm publishing. Current stable version is 1.6.3 (last release). Development appears stalled with no recent updates; alternative official tool is @angular/cli's library support. Key differentiator: inlines HTML templates and CSS styles into components and uses @angular/compiler-cli for compilation. Requires Node >=6 and is not compatible with Angular versions beyond 8.
npm install angular-library-builderNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installing the package, configuring package.json, running the build, and publishing to npm.
Migrate to Angular CLI's ng generate library for Angular 9+.
Ensure --rootDir points to the library source (e.g., src/lib) and --outDir to a dist folder (e.g., lib-dist).
Use Angular CLI for Ivy compatibility.
Use Angular CLI's ng generate library for new libraries.
npm install --save-dev @angular/compiler-cli
Include --rootDir with a valid path, e.g., nglb --rootDir src/lib --outDir lib-dist