0.8.5 • Published 8 years ago

iconr v0.8.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

NPM version Dependency Status Build Status bitHound Score Downloads

iconr

Description

CLI tool that consumes a directory of SVG images and outputs a CSS file of inlined data as well as a directory of PNG images for fallback if necessary.

iconr screenshot

Usage

iconr [inputDirectory] [outputDirectory] -options

Options

longNameshortNamedescription
analyticsaDisplays a summary of application process tasks
base64bBase64 encode SVG data URI (fallback PNG is always Base64)
classnamecSet a prefix for css classes (default classname is SVG filename)
debugdDebug mode: will output additional information for development
filenamefSet filename of css output (default is iconr.css)
helphOutput usage information
killcommentkRemoves the 'generated by iconr' CSS comment
nopngnSuppress creation of PNG fallback images (needed for < IE8)
nopngdataNSuppress creation of PNG fallback data URI (needed for IE8)
optimizesvgoWill attempt to optimize the SVG to minimize file size
prettypOutput CSS in a 'beautified' format
separatecsssCreate separate stylesheets for IE
stdoutSOutput CSS to stdout instead of saving to a file
verbosevVerbose mode: log application progress to the console
versionVOutput version number

Installing

  npm install -g iconr

Dependencies

Expects Modernizr classes on front-end.

Contributing to iconr

Contributions and pull requests are very welcome. Please follow these guidelines when submitting new code.

  1. Make all changes in ./src, not in ./lib, which is a build target.
  2. Use npm install -d to install the correct development dependencies.
  3. Use gulp watch to generate iconr's compiled JavaScript files as you code.
  4. Submit a Pull Request using GitHub.

License

Released under the MIT License.

0.8.5

8 years ago

0.8.4

8 years ago

0.8.3

9 years ago

0.8.2

9 years ago

0.8.1

9 years ago

0.8.0

9 years ago

0.7.3

9 years ago

0.7.2

9 years ago

0.7.1

9 years ago

0.7.0

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.7

9 years ago

0.5.6

9 years ago

0.5.5

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.2

9 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.9

10 years ago

0.4.8

10 years ago

0.4.7

10 years ago

0.4.6

10 years ago

0.4.5

10 years ago

0.4.4

10 years ago

0.4.3

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.17

10 years ago

0.1.16

10 years ago

0.1.14

11 years ago

0.1.13

11 years ago

0.1.12

11 years ago

0.1.11

11 years ago

0.1.10

11 years ago

0.1.9

11 years ago

0.1.8

11 years ago

0.1.7

11 years ago

0.1.6

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago