https://github.com/maxfi/meteor-decaffeinate
Quickly and easily decaffeinate, lint and fix (xo) coffeescript files in a meteor project.
https://github.com/maxfi/meteor-decaffeinate
Last synced: 2 months ago
JSON representation
Quickly and easily decaffeinate, lint and fix (xo) coffeescript files in a meteor project.
- Host: GitHub
- URL: https://github.com/maxfi/meteor-decaffeinate
- Owner: maxfi
- License: mit
- Created: 2018-08-06T05:44:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T18:36:05.000Z (over 6 years ago)
- Last Synced: 2025-03-22T23:32:07.647Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# meteor-decaffeinate [](https://travis-ci.org/maxfi/meteor-decaffeinate)
> Quickly and easily decaffeinate, lint and fix (xo) coffeescript files in a meteor project.
## Why
- Converting a legacy coffeescript meteor codebase is a PITA.
- Uses the awesome [decaffeinate](https://github.com/decaffeinate/decaffeinate) and [xo](https://github.com/xojs/xo) projects to output modern JavaScript!
- Uses your `package.json` defined [xo](https://github.com/xojs/xo) configuration if you use [xo](https://github.com/xojs/xo) in your project already.## Install
```
$ npm install --global meteor-decaffeinate
```## CLI
```
$ meteor-decaffeinate --helpUsage
$ meteor-decaffeinate
Options
--editor Open converted files in editor upon completion. Eg 'atom'
Examples
$ meteor-decaffeinate fileOne.coffee
$ meteor-decaffeinate --editor atom fileOne.coffee fileTwo.coffee
```## License
MIT © [Max](https://github.com/maxfi)