0.3.0 • Published 7 years ago

svc v0.3.0

Weekly downloads
287
License
ISC
Repository
github
Last release
7 years ago

Introduction

Scalable Vector Converter - A small SVG to inline CSS converter. It takes a bunch of SVG-files, performs some cleanup-actions and outputs them as a single CSS-file with a single selector representing each image.

The graphics are converted into background-images with base64-encoded data-URLs. They are exposed through CSS-classes which match the original filenames.

Installation

Run:

npm install -g svc

Usage

svc SOURCE-FOLDER DESTINATION-FILE

See svc --help for options.