@667/replicon

0.1.16 • Public • Published

Replicon

Replicon (replicate icon) is a CLI tool to resize and export SVG logo to PNG files with different sizes and magnifications.

Installation

npm install @667/replicon or use npx... npx @667/replicon --help

Web UI

You can either use it from the CLI as per the usage below or online: https://replicon.june07.com/

Usage:

$ npx @667/replicon --help
Options:
      --version           Show version number                          [boolean]
  -i, --input             Input SVG logo file                           [string]
  -b, --base-resolutions  Base resolutions for the PNG files (comma-separated)
                                              [string] [default: "16,32,48,128"]
  -o, --output-dir        Output directory for the PNG files
                                           [string] [default: "/tmp/icon/icons"]
  -s, --silent            Silently continue with defaults without prompting the
                          user                                         [boolean]
  -m, --magnifications    Magnifications for the PNG files (comma-separated)
                                                                        [string]
      --help              Show help                                    [boolean]

image

image

Because I got tired of manually replicating (resize, export, repeat) icons using Inkscape and/or Gimp!

Package Sidebar

Install

npm i @667/replicon

Weekly Downloads

9

Version

0.1.16

License

MIT

Unpacked Size

11.1 kB

Total Files

5

Last publish

Collaborators

  • 667