Skip to content

Quickly and easily decaffeinate, lint and fix (xo) coffeescript files in a meteor project.

License

Notifications You must be signed in to change notification settings

maxfi/meteor-decaffeinate

Repository files navigation

meteor-decaffeinate Build Status

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 and xo projects to output modern JavaScript!
  • Uses your package.json defined xo configuration if you use xo in your project already.

Install

$ npm install --global meteor-decaffeinate

CLI

$ meteor-decaffeinate --help

	Usage
	  $ meteor-decaffeinate <input>
	
	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

About

Quickly and easily decaffeinate, lint and fix (xo) coffeescript files in a meteor project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published