Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ncss

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ncss

CSS stream compressor

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ncss

This node.js module is a streaming compressor for CSS. Unlike other CSS minifiers it works on a stream and is optimized for speed.

installation

npm install ncss

usage

var ncss = require('ncss');
var min = ncss('.selector { background: black; }');

or

ncss < input_file > output_file

Using ncss with Connect or Express

ncss also comes with middleware for connect. See examples for more advanced usage.

var pub = __dirname + '/public';
connect.createServer(ncss.middleware(pub), connect.static(pub)).listen(3000);

Keywords

FAQs

Package last updated on 08 Aug 2011

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc