Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vutran/preact-codemod
:shaved_ice: Shave some bytes by using Preact.
https://github.com/vutran/preact-codemod
codemod javascript jscodeshift preact react transpiler
Last synced: about 1 month ago
JSON representation
:shaved_ice: Shave some bytes by using Preact.
- Host: GitHub
- URL: https://github.com/vutran/preact-codemod
- Owner: vutran
- License: mit
- Created: 2016-08-14T10:44:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-04T08:10:23.000Z (over 6 years ago)
- Last Synced: 2024-08-02T06:17:38.508Z (4 months ago)
- Topics: codemod, javascript, jscodeshift, preact, react, transpiler
- Language: JavaScript
- Homepage:
- Size: 145 KB
- Stars: 40
- Watchers: 6
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-preact - Preact Codemod - Transform your React code to Preact. (Uncategorized / Uncategorized)
- awesome-codemods - preact-codemod - Shave some bytes by using Preact. (Frameworks / Preact.js)
- awesome-jscodeshift - preact-codemod - Transform your React code to Preact. (Table of Contents / Codemods)
README
# preact-codemod
[![Build Status](https://travis-ci.org/vutran/preact-codemod.svg?branch=master)](https://travis-ci.org/vutran/preact-codemod) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/vutran/preact-codemod/blob/master/LICENSE)
> Transform your React code to Preact.
## Demo: [astexplorer](http://astexplorer.net/#/Pcp2Q5NFLq/10)
## Tests
```bash
$ npm test
```## Goals
* Learning and experimenting with jscodeshift by transforming React to Preact.
* Eventually can convert a big React application.## Contributing
♥ **_`preact-codemod`_** and want to contribute? You can help contribute to the growth of this codemod in many ways.
* [Bug Reports](CONTRIBUTING.md#bug-reports)
* [Feature Requests](CONTRIBUTING.md#feature-requests)
* [Pull Requests](CONTRIBUTING.md#pull-requests)
* [Feedback and Suggestions](CONTRIBUTING.md#feedback-and-suggestions)## Support
Like what you see? [Become a Patron](https://www.patreon.com/vutran) and support me via a monthly donation.
## License
MIT © [Vu Tran](https://github.com/vutran/)