module-dir-change-codemod

    0.2.0 • Public • Published

    module-change-directory-codemod 🚀

    CodeMod to change the directory of your module import or require statement

    What is does ?

    Currently it is having only one codemod available which will change your path or directory of your require or import from statement to one directory up

    Usage

    1. $ npm install -g jscodeshift
    2. $ npm install module-dir-change-codemod
    3. $ jscodeshift -t node_modules/module-dir-change-codemod/transforms/[transforms].js [files]

    transforms

    Currently only one transform is available

    • ### change-dir-up

    Install

    npm i module-dir-change-codemod

    DownloadsWeekly Downloads

    1

    Version

    0.2.0

    License

    ISC

    Unpacked Size

    4.37 kB

    Total Files

    5

    Last publish

    Collaborators

    • anixsaha