JSPM

Found 127 results for refactor

scope-analyzer

simple scope analysis for javascript ASTs

  • v2.1.2
  • 80.63
  • Published

rename-function-calls

Renames functions calls, but leaves function definitions unchanged.

  • v0.1.1
  • 67.43
  • Published

npm-groovy-lint

Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files

  • v15.2.1
  • 65.24
  • Published

varify

browserify transform that converts all const assignments to var assignments.

  • v0.2.0
  • 52.77
  • Published

namespace-css

Namespaces all rules found in a CSS file to make them only apply to a subset of the page.

  • v0.1.3
  • 49.14
  • Published

scai

> AI-powered CLI tool for commit messages **and** pull request reviews — using local models.

  • v0.1.103
  • 45.17
  • Published

shift-refactor

A suite of utilities to query and modify JavaScript source

  • v2.0.0
  • 41.50
  • Published

@mlapaglia/ng20-rename

A TypeScript package to refactor Angular applications to use the latest Angular naming conventions

  • v1.3.4
  • 41.09
  • Published

@codeque/core

Multiline code search for every language. Structural code search for JavaScript, TypeScript, HTML and CSS

  • v0.6.1
  • 37.32
  • Published

spotcss

SPOT CSS Framework { Single Place Of Truth Methodology }

  • v2.2.22
  • 36.96
  • Published

ts-import-types-cli

Autofix TypeScript types to be imported using `import type`

  • v0.6.2
  • 34.14
  • Published

@codeque/eslint-plugin

Create custom ESLint rules based on code samples. Utilizing CodeQue - structural code search engine.

  • v0.1.2
  • 33.36
  • Published

grunt-fixmyjs

Automatically fix JavaScript lint errors.

  • v0.3.0
  • 32.69
  • Published

react-native-reuse-finder

Detect reusable/duplicate React Native code (components, hooks, styles, utils) and suggest refactors. Ships as a CLI + Node API.

  • v1.0.6
  • 32.62
  • Published

ts-simple-ast-extra

High level TypeScript Compiler API and refactor tools based on ts-morph (ex ts-simple-ast) library

  • v0.3.15
  • 31.34
  • Published

@codeque/cli

Multiline code search for every language. Structural code search for JavaScript, TypeScript, HTML and CSS

  • v0.5.1
  • 31.24
  • Published

vue-prune

:scissors: Find unused Vue components in your code

  • v0.1.0
  • 31.00
  • Published

import-path-converter

Automatically converts relative imports to path alias imports based on TypeScript configuration

  • v1.0.3
  • 29.27
  • Published

astx

super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring

  • v2.2.3
  • 29.14
  • Published

sweepstacx

Repo sweeper for modern dev stacks: scan, report, patch.

  • v0.1.7
  • 27.88
  • Published

trucker

Hauls your files around without breaking your imports

  • v1.1.2
  • 27.73
  • Published

component-prune

Detect and optionally remove unused UI components in modern frontend frameworks(React, Svelte, Solid)

    • v1.0.2
    • 27.62
    • Published

    grasp

    JavaScript structural search, replace, and refactor

    • v0.6.0
    • 27.58
    • Published

    json-refactor

    Refactor JSON object structure based on provided rules.

    • v1.0.0
    • 26.77
    • Published

    migrate-to-lodash-es

    CLI tool to migrate JavaScript/TypeScript imports from lodash to lodash-es automatically.

    • v1.0.1
    • 26.74
    • Published

    preserve-case-replace

    Replaces substring in a text while preserving case and grammatical number (plural/singular)

    • v1.0.2
    • 26.34
    • Published

    refactoring-codemods

    Quest for IDE refactoring support within JavaScript via js-codemods

    • v0.3.4
    • 24.77
    • Published

    better-name

    CLI to rename ES2015 module files

    • v0.7.3
    • 24.21
    • Published

    refactor

    A node script to compare http responses. Designed for comparing api responses after a big refactor

    • v0.0.3
    • 22.28
    • Published

    inquirer-code-prompts

    Inquirer prompts plugins related to Code / Parsing / AST / TypeScript / JavasScript

    • v0.0.3
    • 20.62
    • Published

    action-manager

    action-manager is a software framework that facilitates defining, publishing, and executing actions. Do more with less effort!

      • v0.0.1-beta.25
      • 19.48
      • Published

      file-mover

      Script to move files and update imports automatically

      • v0.4.5
      • 17.44
      • Published

      @es-toolkit/codemod

      A codemod to transform lodash imports to es-toolkit/compat imports

      • v0.0.1
      • 15.86
      • Published

      @itrocks/former-name

      Stores previous property names to help manage schema changes, legacy data access, and so on

      • v0.0.2
      • 15.83
      • Published

      @tsxmod/utils

      Utilities to help make TS Morph even easier to work with.

      • v0.7.2
      • 14.04
      • Published

      projekt

      A project management set of tools designed around require.js that includes tools to analyze all your javascript files and perform refactoring on them.

      • v0.1.48
      • 13.89
      • Published

      browserify-ftw

      Upgrade your app from requireJS AMD to commonJS module format via an automated refactor step in order to browserify it.

      • v1.0.1
      • 13.84
      • Published

      vue-declassify-to-setup

      A CLI tool that converts Vue 2 vue-property-decorator classes to Composition API / setup-API.

      • v1.4.9
      • 13.52
      • Published

      @ts-rename-all/cli

      Once rename a file name, then symbols are also renamed.

      • v0.11.5
      • 13.20
      • Published

      eselement

      DOM-like wrapper around the Javascript AST

      • v0.2.1
      • 12.94
      • Published

      nestch

      A CLI tool for renaming NestJS resource names easily.

      • v1.3.3
      • 12.64
      • Published

      vue-declassify-exdev

      Convert Vue 2 class-based components into object-based syntax.

      • v0.0.7
      • 12.29
      • Published

      see-fetch

      A window.fetch wrapper, with response refactoring, pre handling, post handling, etc.

      • v1.0.3
      • 12.28
      • Published

      openapi-refactorer

      Break monolithic OpenAPI documents into several files (and put them back together).

      • v0.1.0
      • 12.20
      • Published

      vue-declassify

      Convert Vue 2 class-based components into object-based syntax.

      • v1.1.0
      • 11.87
      • Published

      ts-refactor

      TypeScript code refactor interactive CLI tool

      • v0.0.11
      • 11.73
      • Published

      typescript-import-refactoring-burguer

      While VSCode haven't the auto reimport files on folder change or renaming for refactoring situations, this script will help

      • v1.0.6
      • 11.65
      • Published

      repackify

      A new package.json repackager offering a suite of features including refactoring, backing up package.json files, implementing environment variables within package.json, and more.

      • v1.0.1
      • 11.05
      • Published

      labrat

      Labrat a tool to let you run two blocks of code and compare their output while capturing metrics about runtime performance. The hope is that this enables you to refactor code and gain confidence by testing it against a production load. Heavily inpsired fr

      • v0.3.0
      • 9.91
      • Published

      darp

      Development And Refactoring Platform

      • v0.1.5
      • 9.51
      • Published

      see-ajax

      An ajax wrapper, with response refactoring, pre handling, post handling, etc.

      • v2.0.0
      • 9.28
      • Published

      hyesungoh-test-codemod

      A codemod to transform lodash imports to es-toolkit/compat imports

      • v0.0.3
      • 9.26
      • Published

      tree-refactor-js

      tool to refactor javascript code, more powerful than text based search and replace

      • v1.2.1
      • 9.26
      • Published

      importy

      A CLI tool for analyzing JavaScript/TypeScript imports from libraries

      • v0.1.2
      • 9.17
      • Published

      html-refactor

      A CLI tool to refactor HTML by extracting inline CSS and JavaScript into separate files.

      • v1.0.0
      • 9.04
      • Published

      es6-upgrade

      Attempts to cleanly upgrade from es5 syntax to es6

      • v1.1.8
      • 8.53
      • Published

      kebabier

      A CLI Tool to refactor Javascript/Typescript projects to use kebab-case naming convention of files and folders

      • v1.0.0
      • 8.19
      • Published

      goalkeeper

      gitHooks for tjsports

      • v1.0.3
      • 7.85
      • Published

      gulp-snippet-prettify

      Gulp plugin to rename code snippet function variables to make them look pretty

      • v0.1.9
      • 7.79
      • Published

      yae-modernize-tailwind

      A powerful CLI tool to automate migration of Tailwind CSS classes to newer, more efficient conventions

      • v1.0.4
      • 7.79
      • Published

      codemodmt

      A codemod engine for Node.js libraries (jscodeshift, ts-morph, etc.)

      • v0.18.6
      • 7.40
      • Published

      source-rewrite

      A command-line tool that lets you rewrite your source with configurable options.

        • v1.0.2
        • 7.40
        • Published

        front-end-code-splitter

        Bộ công cụ chia nhỏ các file SCSS, Vue, i18n để dễ quản lý mã nguồn

        • v1.0.5
        • 6.89
        • Published

        typescript-ast-explorer

        Command line tool to explore TypeScript projects and SourceFile abstract syntax tree interactively

        • v0.0.5
        • 6.84
        • Published

        gulp-jasyacon

        Consolidate and replicate JSON objects scattered throughout Javascript libraries via YAML templating. Alternatively, convert YAML globs into direct JSON output.

          • v1.1.4
          • 6.70
          • Published

          no-dead-code

          Find dead code in your project

          • v0.5.2
          • 6.70
          • Published

          ifless

          Get rid of if statements in your code by using convenient api

          • v1.2.0
          • 6.49
          • Published

          browserify-varify

          browserify transform that converts all const assignments to var assignments.

          • v0.1.3
          • 5.70
          • Published

          fast-for

          Optimize your collection looping by 2x faster. Fast For uses for loop that runs only half of your collection's length.

          • v1.0.2
          • 5.65
          • Published

          vx-refactor

          【vx-refactor】简化原生 vuex 的复杂操作.

          • v1.0.5
          • 5.65
          • Published

          trimtree

          CLI to help trimming the code dependency tree

          • v1.0.4
          • 5.64
          • Published

          jscodeshaft

          Collection of more or less primitive helpers and abstractions for JSCodeShift, build for design system migrations and upgrades.

          • v0.6.0
          • 5.64
          • Published

          gen-codemod

          Generate codemods by comparing two JavaScript files

          • v1.0.10
          • 5.64
          • Published

          esm-refactor

          A tool for refactoring JavaScript modules

          • v0.0.9
          • 5.59
          • Published

          promethium-core

          Core logic of Promethium, to help working with Legacy Code

          • v0.0.4
          • 5.51
          • Published

          dawn.js

          General Transpiler implemented in JavaScript

          • v0.1.1
          • 5.41
          • Published

          file-refacto

          CLI tool to rename files based on their extension

          • v0.0.5
          • 4.28
          • Published

          @owll/func-spy

          A JavaScript/TypeScript analysis tool to find function references and call sites using AST.

          • v1.0.2
          • 4.27
          • Published

          orphan

          Find orphan (unimported) files in your project! Like that! isn't it nice?

            • v1.0.0
            • 4.27
            • Published

            aliasify-imports

            A codemod that swaps relative imports for aliases — your go-to buddy for project refactoring!

              • v1.0.1
              • 4.23
              • Published

              redux-drive

              redux-drive is a way to simplify redux boilerplate without a complete rewrite

              • v1.0.0
              • 4.23
              • Published

              css-scrub

              Clean up CSS and extract inline styles into classes

                • v0.1.1
                • 2.54
                • Published

                hyesungoh-poc-ast-grep

                A codemod to transform lodash imports to es-toolkit/compat imports

                • v0.0.1
                • 2.54
                • Published

                vue3-migrate

                This is a command-line tool that utilizes ChatGPT to automatically refactor Vue.js code from version 2 to version 3.

                • v1.2.4
                • 2.54
                • Published

                promethium-cli

                Helps working with Legacy Code, from your terminal

                • v0.0.6
                • 2.52
                • Published

                mapject

                Get the performance of a Map with the syntax of an object.

                  • v1.0.0
                  • 2.52
                  • Published

                  @ts-rename-all/core

                  Once rename a file name, then symbols are also renamed.

                  • v0.11.5
                  • 2.50
                  • Published

                  gulp-json-refactor

                  Gulp extension for refactoring JSON object structure based on provided rules.

                    • v1.0.0
                    • 2.50
                    • Published

                    movejs

                    Rename/Move CJS module(s) and update all affected requires

                    • v1.0.8
                    • 2.50
                    • Published

                    refactor-vir

                    Making widespread codebase refactors easier.

                    • v0.3.3
                    • 2.50
                    • Published

                    repo-refactor

                    Convert a directory into a different one of your choosing

                    • v1.2.0
                    • 2.44
                    • Published

                    techdbt

                    techdbt is a simple tool to scan your codebase for TODO, FIXME, and REFACTOR comments.

                    • v1.0.0
                    • 2.39
                    • Published

                    ps-which

                    Find out what's in an Angular 1 app

                    • v1.3.0
                    • 2.39
                    • Published

                    ts-file-refactor

                    A tool for refactoring TypeScript files

                      • v5.0.0
                      • 0.00
                      • Published

                      @renamify/mcp-server

                      MCP (Model Context Protocol) server for Renamify - smart case-aware search and replace

                      • v0.1.0
                      • 0.00
                      • Published

                      vscode-invert-if

                      Invert if blocks & conditions and create guard clauses on the fly

                      • v2.0.5
                      • 0.00
                      • Published

                      move-ts-file

                      Intelligent CLI tool to move TypeScript files and automatically update all import paths throughout your project

                      • v0.4.12
                      • 0.00
                      • Published

                      refactor-bot

                      Refactor your codebase using ChatGPT, ts-morph and Plan and Execute techniques

                        • v0.0.4
                        • 0.00
                        • Published

                        ts-tidy

                        Find and clean dead TypeScript code in a single command

                        • v0.0.0
                        • 0.00
                        • Published

                        solidity-refactor

                        prettier plugin for solidity that refactors solidity 0.4.x code to solidity 0.5.x code

                        • v1.0.2-alpha
                        • 0.00
                        • Published

                        typemod

                        Codemod scripts to transform ts codes into latest features.

                        • v0.0.3
                        • 0.00
                        • Published

                        typescript-plugin-move-file

                        typescript plugin that let the user move files and folders fixing all references (refactor)

                        • v0.0.7
                        • 0.00
                        • Published

                        universal-code-splitter

                        Bộ công cụ chia nhỏ các file SCSS, Vue, Class JS, và Object Literal JS

                        • v1.1.0
                        • 0.00
                        • Published

                        auto-hide-api

                        Automatically extract hardcoded API endpoints into constants and replace usage in code.

                          • v1.0.0
                          • 0.00
                          • Published

                          invert-if-md

                          Language embeddings in Markdown support for Invert If extension

                          • v1.0.0
                          • 0.00
                          • Published