ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Minify JS To Clipboard

by vicapow ST2

takes the current selected block of text, minifies it, and copies it to the clipboard. that's it.

Details

  • 2013.08.10.04.31.21
  • github.​com
  • github.​com
  • 11 years ago
  • 1 hour ago
  • 11 years ago

Installs

  • Total 813
  • Win 402
  • Mac 370
  • Linux 41
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Minify JS To Clipboard

A simple Sublime plugin to minify the current selection of JavaScript and copy it to the clipboard. this is useful for when you want to quickly copy and paste large or small amounts of code into the console.

To install

Requires uglifyjs to be installed globally.

npm install uglifyjs -g

To use

right click on a selection and then click “Minify selection to clipboard”

Or there's also a hot-key binding that defaults to cmd+shift+c (or ctrl+shift+c on linux/window) for OS X.

After that, just paste!