# ng-packagr

> Compile and package Angular libraries in Angular Package Format

Source: https://talira.ai/catalog/ng-packagr-k9vsnnw9
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / bundlers](https://talira.ai/categories/developer-tools/build/bundlers), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [ng-packagr](https://talira.ai/orgs/ng-packagr.md)

ng-packagr builds [Angular](https://talira.ai/catalog/angular-zmam85tz.md) libraries from TypeScript sources into distribution-ready npm packages in the Angular Package Format: FESM2022 bundles with type definitions that Angular CLI, webpack and other ESM bundlers can consume. It inlines templates and stylesheets, runs SCSS with custom include paths, adds vendor prefixes, embeds assets, and builds scoped or unscoped packages, one per package.json in a monorepo.

## Links

- GitHub: https://github.com/ng-packagr/ng-packagr

## Problems it solves

- publish an Angular component library to npm
- build an Angular library in Angular Package Format
- package several Angular libraries in a monorepo

## Features

- Angular Package Format output with FESM2022 bundles
- type definitions (.d.ts)
- inlined templates and stylesheets
- SCSS, vendor prefixes and embedded assets
- scoped and unscoped packages

## Trust

Overall: 0.64 out of 1.
Signals: maintenance 1.00, adoption 0.65, momentum 0.37, community 0.77, backing 0.30, extensibility 0.00.

- last commit 10 days ago
- 92 commits in the last 90 days
- latest release 22.2.6 26 days ago
- 1.9k GitHub stars
- 85 contributors
- has a company behind it

## Related

- Works with [Angular](https://talira.ai/catalog/angular-zmam85tz.md)

## Alternatives

- [TSDX](https://talira.ai/catalog/tsdx-e3g7pf3f.md): Zero-config CLI for developing, testing and publishing TypeScript packages

## Sources

[^1]: https://github.com/ng-packagr/ng-packagr/blob/main/LICENSE (checked 29 Nov 2026)
