All Projects → rajasegar → moment-dayjs-codemod

rajasegar / moment-dayjs-codemod

Licence: MIT License
A Codemod to migrate from moment.js to day.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to moment-dayjs-codemod

moment-recur-ts
Conversion of the moment-recur library into TypeScript.
Stars: ✭ 17 (-15%)
Mutual labels:  moment, momentjs, moment-js
format-date
📆 A small library (around 400 B when gziped & minified) to format JavaScript `Date` object using same tokens as moment.
Stars: ✭ 25 (+25%)
Mutual labels:  moment, momentjs, moment-js
ng2-timezone-selector
A simple Angular module to create a timezone selector using moment-timezone.
Stars: ✭ 12 (-40%)
Mutual labels:  moment, momentjs, moment-js
discord-clock
A simple clock script for your bot to show what time it is in your server | Discord.js v13 ready!
Stars: ✭ 29 (+45%)
Mutual labels:  moment, momentjs, moment-js
relative.time.parser
Moment.js Plugin for parsing Relative Time Strings
Stars: ✭ 13 (-35%)
Mutual labels:  moment, momentjs
moment-cache
⏱ Simple utility to cache moment.js results and speed up moment calls.
Stars: ✭ 29 (+45%)
Mutual labels:  moment, moment-js
dayjs
Extended fork of Day.js - 2KB immutable date library alternative to Moment.js
Stars: ✭ 36 (+80%)
Mutual labels:  moment, dayjs
awesome-codemods
Awesome list of codemods for various languages, libraries and frameworks
Stars: ✭ 98 (+390%)
Mutual labels:  codemod, codemods
moment-holiday
A Moment.js plugin for handling holidays. NO LONGER MAINTAINED (DEPRECATED)
Stars: ✭ 82 (+310%)
Mutual labels:  moment, momentjs
Dayjs
⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Stars: ✭ 37,373 (+186765%)
Mutual labels:  moment, dayjs
imrc-datetime-picker
(Improved) React component datetime picker by momentjs 📆
Stars: ✭ 21 (+5%)
Mutual labels:  moment, momentjs
vaktija.ba
Web Site
Stars: ✭ 19 (-5%)
Mutual labels:  momentjs, moment-js
tscodeshift
tscodeshift is a toolkit for running codemods over multiple TS files
Stars: ✭ 49 (+145%)
Mutual labels:  codemod
WeBlog
typecho微信小程序插件+微信小程序源码
Stars: ✭ 36 (+80%)
Mutual labels:  momentjs
date-format
A reliable way to format dates and times in Elm.
Stars: ✭ 48 (+140%)
Mutual labels:  moment
react-native-daterange-picker
A React Native component for picking date ranges or single dates.
Stars: ✭ 86 (+330%)
Mutual labels:  moment
web-session-counter
Utility to count a user's web sessions based on the definition GA uses.
Stars: ✭ 22 (+10%)
Mutual labels:  momentjs
Itunes-Top-100-albums
Fetching data from itunes api With lazy Loading using react
Stars: ✭ 14 (-30%)
Mutual labels:  momentjs
ember-dayjs-helpers
Ember Template helpers based on day.js
Stars: ✭ 19 (-5%)
Mutual labels:  dayjs
music
🎵vue 像素级还原mac客户端网易云音乐
Stars: ✭ 34 (+70%)
Mutual labels:  momentjs

moment-dayjs-codemod

Build and Deploy npm version Coverage Status

A collection of codemods for migrating from moment.js to day.js

Usage

To run the codemod , you would run the following:

npx moment-dayjs-codemod path/of/files/ or/some**/*glob.js

# or

yarn global add moment-dayjs-codemod
moment-dayjs-codemod path/of/files/ or/some**/*glob.js

Local Usage

node ./bin/cli.js path/of/files/ or/some**/*glob.js

Transforms

Contributing

Installation

  • clone the repo
  • change into the repo directory
  • yarn

Running tests

  • yarn test

Update Documentation

  • yarn update-docs

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].