Prettier for JavaScript Standard Style
npm install standard-prettierjs
const prettierStandard = require('prettier-standard')
// There is no configuration, just like standard.
prettierStandard.format(source).then(console.log)
`
Editor plugins
- __Atom:__ prettier-standard-formatter
CLI
$3
`sh
$ yarn global add prettier-standard-formatter
`
$3
`sh
$ prettier-standard-formatter --help
Usage
$ prettier-standard-formatter [ ...]
Examples
$ prettier-standard-formatter
$ prettier-standard-formatter index.js
$ prettier-standard-formatter foo.js bar.js
$ prettier-standard-formatter index.js src/*/.js
``