css-spriter

0.0.22 • Public • Published

CssSpriter

Css Sprite Tool

It is a can parse CSS file, generate Sprite map and a new CSS file tool.

Command Line

Install:

npm install css-spriter -g

Usage:

css-spriter index.css index-release.css

It will create a new css file.

You can also use as the follow:

css-spriter index.css

It will replace the old css file.

Node.js

Install

npm install css-spriter --save-dev

Usage:

var cssSpriter = require('css-spriter');

cssSpriter('./index.css', './index-release.css').then(
    function () {
        do something...
    }
);

Readme

Keywords

none

Package Sidebar

Install

npm i css-spriter

Weekly Downloads

2

Version

0.0.22

License

ISC

Last publish

Collaborators

  • quyatong