beautifier / js-beautify

Beautifier for javascript
https://beautifier.io
MIT License
8.63k stars 1.38k forks source link

duplicate console script js-beautify #1627

Open simevo opened 5 years ago

simevo commented 5 years ago

the node module: https://github.com/beautify-web/js-beautify/blob/master/package.json#L9 and the python package: https://github.com/beautify-web/js-beautify/blob/master/python/setup.py#L39 both install a js-beautify executable binary

do they support the same CLI arguments ? are they supposed to give the same results ? I think that it would make sense to rename one or the other.

bitwiseman commented 5 years ago

@simevo They support similar arguments but not the same - the node version supports beautifying of css and html as well. Renaming one or the other would be a breaking change.