1.0.5 • Published 8 years ago
jsxbeautifier v1.0.5
jsxbeautifier
This beautifier is specially made for React.js or React native.
Usage
You can use this module on command-line using node.js
JavaScript
You can install the NPM package jsxbeautifier. When installed globally, it provides an executable jsxbeautifier script. 
$ npm -g install jsxbeautifier
$ jsxbeautifier -r -f foo.jsYou can also use jsxbeautifier as a node library (install locally, the npm default):
$ npm install jsxbeautifierOptions
These are the command-line flags for JS scripts:
CLI Options:
  -f    Input file(s) (Pass '-' for stdin)
  -r    Write output in-place, replacing input