moment-dayjs-codemod

    0.4.0 • Public • Published

    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

    Install

    npm i moment-dayjs-codemod

    DownloadsWeekly Downloads

    9

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    30.4 kB

    Total Files

    37

    Last publish

    Collaborators

    • avatar