We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace to reduce bundle size. Moment.js is about 20x heavier than dayjs and does basically the same thing :( Day.js https://github.com/iamkun/dayjs Luxon https://moment.github.io/luxon/
The text was updated successfully, but these errors were encountered:
Yes true that moment is bloated: https://bundlephobia.com/result?p=moment@2.24.0 I already started to migrate from moment with date-fns: https://bundlephobia.com/result?p=date-fns@2.8.1
I wonder if I Luxon is a drop in replacement of moment
Sorry, something went wrong.
moment().format('LTS') moment().diff(parseInt(t1))
This are the only momentjs calls ^^' so yes I will drop moment
dayjs is a drop in replacement of moment, and is even lighter than date-fns... https://bundlephobia.com/result?p=dayjs@1.8.17
dayjs
date-fns
date-fns + moment have been replaced by dayjs
PM2 4.3.0 published:
npm install pm2@latest -g pm2 update
No branches or pull requests
Replace to reduce bundle size. Moment.js is about 20x heavier than dayjs and does basically the same thing :(
Day.js https://github.com/iamkun/dayjs
Luxon https://moment.github.io/luxon/
The text was updated successfully, but these errors were encountered: