@buxlabs/codemods

code modification scripts

Usage no npm install needed!

<script type="module">
  import buxlabsCodemods from 'https://cdn.skypack.dev/@buxlabs/codemods';
</script>

README

codemods

The repository holds scripts that are used to modify code (codemods - code modifications).

The scripts are defined in the src/mods directory. To add a new mod add a new file that keeps the same convention.

Installation

npm install -g @buxlabs/codemods

Usage

codemods --dir=src --mod=...

Testing

Tests for each codemod are located in test/fixture.