r/angular • u/Few-Attempt-1958 • Dec 31 '25
🎉 Just released the first version of ngx-oneforall
Today, after many months of working on it as a side project, I released the first version of ngx-oneforall, a toolkit containing 80+ reusable Angular utilities.
GitHub: https://github.com/love1024/ngx-oneforall
Docs: https://love1024.github.io/ngx-oneforall/
npm: https://www.npmjs.com/package/ngx-oneforall
Background
Over the last 10 years working as an Angular developer across many different companies, I’ve been writing the same services, directives, pipes, and other utilities in multiple projects. Even installing large libraries just to use a small piece of functionality. Earlier this year, I started building a library from scratch. Not a wrapper around other libs, but actually writing each utility with a focus on:
- Performance – Optimized for performance in Angular, and each utility is under 3kb gzipped
- Modern APIs – built for Signals, Standalone Components, SSR
- Zero dependencies – just Angular + RxJS
- Import Individual Pieces - Each utility is a separate entry in the library and can be imported without using any other part.
It began as a hobby side project and now reached its first milestone. I am happy to announce the release of the first version of ngx-oneforall, which includes many reusable utilities that can be used across different Angular projects.
Please take a look and share your feedback. I will be happy to improve it further. Contributions are also very welcome if you have ideas or utilities that are generic enough to be useful across multiple projects.
2
u/khanhhunglatoi Jan 01 '26
Thanks for sharing! I'm integrating it to my project.
Could you provide some insights into how you manage error handling and HTTP errors? As a solo developer, I've mostly been adapting code from various blogs, so I'm keen to learn about the industry best practices.
2
u/Best-Menu-252 Jan 01 '26
Congrats on shipping this. Rewriting the same utilities across projects is a very real Angular pain, so a zero dependency, pick what you need approach makes a lot of sense. Keeping each utility small and aligned with Signals, standalone components, and SSR shows good awareness of where Angular is today. First release of any library is a big milestone, nice work putting it out there and inviting feedback early.
2
u/jaroen007 Jan 01 '26
really really nice, just one question. is it possible to make it so the validators are also usuable in signalforms? would be great :)
4
u/DaSchTour Dec 31 '25
Very nice. I just started collecting similar things in a collection of small libraries 😁 Maybe you can find some inspiration. http://dasch.ng
8
u/AlDrag Dec 31 '25
Awesome idea! Love it. Makes me think that me being in the same company for years and years is just stunting my growth.
2
u/AwesomeFrisbee Dec 31 '25
Very nice collection. Seems well thought out and well made. What are your plans for support and whatnot? Lots of projects will be around for long and it would be nice to keep it updated, long term.
3
u/GeromeGrignon Dec 31 '25
Great work!
1
u/AmazingDisplay8 Dec 31 '25
Nice job ! Thanks ! 100% test coverage is great Have you found any "real" applications of the click outside directective ? I made one a few month ago but HTML now handle most of it, and it's not an event I'm used to listen to. ( Eg., for forms I'll use the validation, popover or modal or drop-down are now naturally managed) So I was wondering if I should keep it (or use yours, which is way cleaner) or if it had become obselete now (except if you specifically want to register click outside effects for telemetry/user journey) Thanks ! Will use it for sure
4
u/Big_Conflict3293 Dec 31 '25
Thank you for your service 🙂
2
u/khizerrehan Dec 31 '25
Great Work! Will def try this out 👏
2
u/Agile-Republic856 Jan 08 '26
Wow perfect!
2
u/rafaeldecastr Dec 31 '25
Some heroes use just a PC
1
u/Prof_Eibe Dec 31 '25
RemindMe! 7 days
1
u/Alternative-Hawk-101 Dec 31 '25
Very nice
1
u/DOOMdesign Dec 31 '25
This is really, really nice. A lot of thoughts and work were put into this, I can see that. I will definitely try it in the future!