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
  • 12 minutes ago
  • 11 years ago

Installs

  • Total 813
  • Win 402
  • Mac 370
  • Linux 41
May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 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
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!