Minify JavaScript with Uglify
$ apm install uglify
Or Settings → Install → Search for uglify
Open the Command Palette, and type uglify
.
Can also minify just a selection. For example the code in a <script>
tag.
Set the keyboard shortcut you want in your keymap:
'atom-text-editor':
'cmd-shift-x': 'uglify'
MIT © Sindre Sorhus