Command-Line Interface (CLI)
Install Unibeautify's CLI:
# Locally
npm install --save-dev unibeautify-cli
# Or globally
npm install --global unibeautify-cli
And then install your beautifiers along with any prerequisites and peerDependencies
.
# Locally
npm install --save-dev beautifier-CHANGEME
# Or globally
npm install --global beautifier-CHANGEME
For example, locally installing beautifier-prettier
:
npm install --save-dev beautifier-prettier
And prettier
is a peer dependency:
npm install --save-dev prettier --exact
See unibeautify-cli
repository for more information. Click here for a list of published beautifiers.