Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 416 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 416 Bytes

JSXinsator

Detects JSX syntax in .js files, and moves the contents to .jsx.

If you have extensions in your import statements, you will have to update those manually.

Installation

For yarn:

yarn global add jsxinator

For npm:

npm install -g jsxinator

Usage

Be sure to start with a clean git state. That way, you can revert any changes.

jsxinator <directory>