skratchdot-codemods

A collection of utility codemods

Usage no npm install needed!

<script type="module">
  import skratchdotCodemods from 'https://cdn.skypack.dev/skratchdot-codemods';
</script>

README

skratchdot-codemods

NPM version Build Status Code Climate Coverage Status

Dependency Status devDependency Status

NPM

Description

A collection of utility codemods that I find useful.

Getting Started

yarn install jscodeshift
yarn install skratchdot-codemods
jscodeshift -t ./node_modules/skratchdot-codemods/transforms/amd-to-commonjs.js /path/to/files/*.js
jscodeshift -t ./node_modules/skratchdot-codemods/transforms/global-strict.js /path/to/files/*.js

See all the available transforms here.

Links

License

Copyright (c) 2016 skratchdot
Licensed under the MIT license.