jsxbeautifier

1.0.5 • Public • Published

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.js

You can also use jsxbeautifier as a node library (install locally, the npm default):

$ npm install jsxbeautifier

Options

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

Package Sidebar

Install

npm i jsxbeautifier

Weekly Downloads

3

Version

1.0.5

License

ISC

Last publish

Collaborators

  • abhishekmarathe