1.1.0 • Published 5 years ago

ikode v1.1.0

Weekly downloads
81
License
AGPL-3.0
Repository
-
Last release
5 years ago

Ikode

Ikode is a tool to create a file with base64 encoded data uri's from a directory of png and/or svg images.

Usage: ikode [OPTIONS] [dir]

    OPTIONS
        --json, -j        Output a JSON file instead of a JavaScript file
        --css, -c         Output a CSS file instead of a JavaScript file
        --dir, -d         Extra directory to scan for images. Note: the [dir] in the command above is
                          still necessary. Multiple --dir flags are possible.
        --out, -o         Name of output file
        --name, -n        Name of the object with the URLS (only when not using --json or --css)
        --important, -i   Add !important to the generated CSS rules (only when using --css)
        --ext, -e         A json file with 'css extensions' (object with keys equal to the image names,
                          and values a string or array of strings with css selectors that should also
                          have that value as background image. Only when using --css)
                          Multiple --ext flags are possible.
        --yes, -y         Assume yes when prompted for a Yes/No answer
        --verbose, -v     Give verbose output

Example

See the project in the example directory for an example.

License

Ikode is licensed with the AGPL 3.0 license

1.1.0

5 years ago

1.0.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago