🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

css-concat

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

css-concat

Concatenate @imported CSS files.

Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
6
-60%
Maintainers
1
Weekly downloads
 
Created
Source

CSS Concat

This module is not intended to do any minification or compression. It's just supposed to concatenate @imported CSS files together and doing it properly. This applies to the relative paths to images as well.

While npm isn't needed for this module to work, I highly recommend it - it makes managing your modules and it's dependencies very comfortable.

Installation

npm install -g css-concat

From command-line

CSS Concat reads from input.css and writes to output.css. If you don't specify output.css explicitly, it will write to input-out.css.

css-concat [input.css] [output.css]

From another node-module

Calling concat with the path to your CSS file, you will get a string containing the same output as the command-line version, including comments.

var cssConcat    = require('css-concat'),
	outputString = cssConcat.concat('path/to/your.css');

FAQs

Package last updated on 19 Feb 2012

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