Just posting this for reference and historical value.
$ sudo su - root # apm install atom-beautify Installing atom-beautify to /root/.atom/packages ✓ # su user $ apm install atom-beautify Installing atom-beautify to /home/user/.atom/packages ✗ npm ERR! tar.unpack error reading /tmp/d-115516-20542-3rae44/package.tgz npm ERR! addLocal Could not install /tmp/d-115516-20542-3rae44/package.tgz npm ERR! Linux 3.19.0-20-generic npm ERR! argv "/usr/local/share/atom/resources/app/apm/bin/node" "/usr/local/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/user/.atom/.apm/.apmrc" "--userconfig" "/home/user/.atom/.apmrc" "install" "/tmp/d-115516-20542-3rae44/package.tgz" "--target=0.22.0" "--arch=x64" npm ERR! node v0.10.35 npm ERR! npm v2.5.1 npm ERR! 0-byte tarball npm ERR! Please run `npm cache clean` npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <http://github.com/npm/npm/issues> npm ERR! Please include the following file with any support request: npm ERR! /tmp/apm-install-dir-115516-20542-15ol5i4/npm-debug.log $ apm -v apm 0.163.0 npm 2.5.1 node 0.10.35 python 2.7.9 git 2.4.3
.jsbeautifyrcin your path with the options you want to set.
I want Atom Beautify to be the one-stop place for all code beautification in Atom. As of #282, each beautifier is very light-weight itself (e.g. https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/autopep8.coffee ) and it'd be annoying for me to maintain at least (currently) 15 small repos for each beautifier, when right now they are simply files. So I am not supportive of splitting into separate modules, as the linter package does.
Essentially, I picture it as Atom Beautify being able to recognize each language it supports and then effectively install each module upon usage. Like linter package, except auto-installing: you do not need to install linter and then linter-coffeescript, you simply install linter and try to lint CoffeeScript and it will detect that it is supported and install it for you.