Replace MomentJS with date-fns in Nestjs

Loading

Reading Time: 2 minutes We use NestJS at work and the backend project needs to perform date calculations and formatting in the services. Our team chose momentJS because it is the one of the most popular date-time open source project. After a while, we discovered that the library size is huge (~290kb) and it is not tree-shakable. If I … Read more