codemods

Atom plugin to run custom js transforms / codemods on your code

kabbi

118

0

0.0.4

MIT

GitHub

This package consumes the following services:

Codemods

An atom plugin to run js codemods on your selections, files, folders and whole projects. Uses jscodeshift runner and API.

A little demo

WARNING: Don't run transforms on the code when you can't revert it (using git, manual backups or anything else). Transform runner we use makes no backups and modifies the files in place (when applied to file or folder level, selection transforms are safer), and can potentially destroy large codebases. This mostly concerns codemods in general, not the atom plugin.

TIP: Install nuclide package to get the cute console windows with jscodeshift output within atom, and a ton of other IDE-like functionality that nuclide provides.

Features:

Roadmap:

Credits: