Socket
Socket
Sign inDemoInstall

cssunminifier-fork-pocketjoso

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cssunminifier-fork-pocketjoso

Make minified CSS readable.


Version published
Weekly downloads
6
decreased by-62.5%
Maintainers
1
Install size
5.18 kB
Created
Weekly downloads
 

Readme

Source

CSS Unminifier

A simple utility written in javascript for node.js to unminify CSS. The script is converted from the MrColes.com browser-based css unminifier.

Install the script with npm:

npm install -g cssunminifier

Run this to print out an unminified version of a CSS file named style.min.css:

cssunminifier style.min.css

Additional examples

Save the output to a file:

cssunminifier style.min.css style.css

Change the default tab width from 4 spaces to 8:

cssunminifier -w=8 style.min.css

Save the output to a file, reading from stdin:

cat style.mins.css | cssunminifier - style.css

Read a file from the web:

curl http://mrcoles.com/media/css/base/screen.css | cssunminifier - | less

Notes

You must have node installed to run this script. You can install it with something like homebrew brew install node or manually. Also, here’s a link to Node Package Manager.

The code for this project lives on github.

Keywords

FAQs

Last updated on 26 Aug 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc