iconik
App icon generator
Last updated 8 months ago by alvarowolfx .
SEE LICENSE IN License.md · Original npm · Tarball · package.json
$ cnpm install iconik 
SYNC missed versions from official npm registry.

iconik - App Icon Generator

CLI tool for generating icons for iOS and Android apps.

The goal of the project is to generate the icons necessary, detect the project architeture (Native, React Native, Flutter, Cordova, etc) and setup all the icons accordingly.

Goals

  • [x] Generate icons in all needed sizes.
  • [x] Publish as NPM package.
  • [ ] Detect project architecture.
  • [ ] Setup icons files accordingly to the project architecture.
  • [ ] Add option to zip all icons.

Install

npm install -g iconik

Usage

Generate app icons in all different sizes.

USAGE
  $ iconik ICON

ARGUMENTS
  ICON  input icon

OPTIONS
  -h, --help           show CLI help
  -o, --output=output  [default: icons] output folder
  -v, --version        show CLI version
  --android            generate android icons
  --ios                generate ios icons

DESCRIPTION
  Generate app icons in all different sizes.
  Please provide an icon with at least 512x512px.

Example Output

$ iconik icon.png
  ✔ Check Input
  ✔ Image Check
  ✔ Check output
  ✔ Generate icons

$ ls icons
hdpi.png                       iPadSpotlight40x40@2x.png      iPhoneSettings29x29@2x.png     playStore.png
iPad76x76@2x.png               iPhone60x60@2x.png             iPhoneSettings29x29@3x.png     xhdpi.png
iPadNotification20x20@2x.png   iPhone60x60@3x.png             iPhoneSpotlight40x40@2x.png    xxhdpi.png
iPadPro83.5x83.5@2x.png        iPhoneNotification20x20@2x.png iPhoneSpotlight40x40@3x.png    xxxhdpi.png
iPadSettings29x29@2x.png       iPhoneNotification20x20@3x.png mdpi.png

Running locally

$ ./bin/run ICON

Credits

  • sharp - Blazing fast image resize module.
  • ocli - Awesome CLI Framework.

Current Tags

  • 1.1.1                                ...           latest (8 months ago)

4 Versions

  • 1.1.1                                ...           8 months ago
  • 1.1.0                                ...           8 months ago
  • 1.0.1                                ...           9 months ago
  • 1.0.0                                ...           9 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 1
Last Week 1
Last Month 5
Dependencies (9)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |