Collection of Angular-first utilities and state helpers, inspired by the developer experience of VueUse.
Angular has powerful primitives (Signals, DI, RxJS), but many apps repeatedly implement similar utility patterns. AngularUse aims to provide reusable, tree-shakeable helpers with strong TypeScript support and a clean API.
This project is inspired by VueUse and its excellent model for ergonomic utility composition.
Huge credit to the VueUse maintainers and contributors for setting a high bar for API design, docs quality, and open-source stewardship.
- Early-stage library
- Core state utilities in progress
- APIs may evolve before stable release
ngx-use— Angular utility library
- Node.js 20+
- pnpm 10+
pnpm installpnpm buildpnpm testprojects/
ngx-use/
src/
lib/
core/
state/
di/
- Scaffold library workspace
- Add
createGlobalState - Add
createProvidedState(withcreateInjectionStatecompatibility alias) - Add
createSharedState - Add
useAsyncState - Add strongly typed DI token helper (
createTypedToken) - Add additional state and browser utilities
- Improve API docs and examples
- Stabilize v1 surface
Contributions are welcome. Please start with CONTRIBUTING.md.
Quick flow:
- Fork the repository
- Create a feature branch
- Add tests for your changes
- Open a pull request
- VueUse — primary inspiration
- Angular team and ecosystem maintainers
This project is licensed under the MIT License.
Please also review our Code of Conduct.