Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

cssmin (YUI CSS Compressor)

Anonymous
2012-11-15
2013-01-25

  • Anonymous
    2012-11-15

    # CSSmin.py for Notepad++ Python Scripting plugin
    # This is a simple script that contains a Python port of the YUI CSS Compressor so you can minify both CSS and JS
    #
    # Version 1.0
    #
    ## Installation
    #  Simply copy **CSSmin.py** to **\\plugins\\PythonScript\\scripts\\** in your NPP folder and restart NPP. It will now appear as a menu item under Plugins…Python Script…Scripts
    #
    ## Usage
    #  1. Select the text to minify, or select nothing.
    #  2. Go to the NPP menu, Plugins…Python Script…Scripts…CSSmin and click!
    #  3. If selected text is detected, it mins and replaces the selected text, otherwise the entire contents of current document.
    #  4. Undo is available if you dont like the results
    #
    ##Credits
    #  Original cssmin.py ported from YUI here https://github.com/zacharyvoase/cssmin
    ###

    Here is is:
    https://github.com/ethanpil/npp-cssmin