Home

Awesome

<p align="center"> <img alt="jasat overview" src="https://raw.githubusercontent.com/ri7nz/jasat/main/.github/docs/jasat.gif"/> <label><strong>Tools for code moderation, transformation, or use for maintain JavaScript stuff related.</strong></label> </p> <p align="center"> <a alt="CI Release status" target="_blank" href="https://github.com/ri7nz/jasat/actions/workflows/release.yml"> <img alt="CI Release status" src="https://github.com/ri7nz/jasat/actions/workflows/release.yml/badge.svg" /> </a> • <a alt="NPM jasat version" target="_blank" href="https://npmjs.com/package/jasat"> <img alt="NPM jasat version" src="https://badgen.net/npm/v/jasat?color=green" /> </a> </p> <p align="center"> <a href="#use-case">Use case</a> • <a href="#Usage">Usage</a> • <a href="#special-thanks">Special Thanks</a> • <a href="#Alternative">Alternative</a> • <a href="#Contribution">Contribution</a> • <a href="#License">License</a> </p>

Use case

Usage

Using with npx


npx jasat <TRANSFORM> [OPTIONS]

Using as development dependencies

add in devDependencies


yarn add -D jasat

run


yarn jasat <TRANSFORM> [OPTIONS]

Transforms

NameOPTIONS
import-source-replace"FROM" "TO"
remove-console-

Command OPTIONS


  Tools for code moderation, transformation, or use for maintain JavaScript stuff related.

  USAGE
    npx jasat <TRANSFORM> <...OPTIONS>

  OPTIONS
    --write, -w         Allow to modified target file.
    --cwd, -C           Set current working directory (default: `process.cwd()`).
    --help, -h          Print help.
    --list, -l          Print list of TRANSFORM.
    --version, -v       Print version.

Example


npx jasat import-source-replace "react" "preact" // dry-run
npx jasat import-source-replace "react" "preact" --write // write to system or target files

Special Thanks

Alternative

Contribution

Making pull requests

License

MIT