1.2.0 • Published 4 months ago

app-iconset-generator v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

app-iconset-generator

npm version

A simple CLI tool to generate Android and iOS icons from a single image.

🚀 Installation

npm install -g app-iconset-generator

📦 Usage

app-iconset-generator -i <path-to-image> -o <output-directory>

# OR

app-iconset-generator --input <path-to-image> --output <output-directory>

Options

OptionDescription
-i, --inputInput image file (required)
-o, --outputOutput directory (default: icons)
-n, --no-roundDisable generating round Android icons

📌 Example

Generate icons from an image

app-iconset-generator -i ./example/logo.png -o ./example

Without -o, saves to icons/

app-iconset-generator -i logo.png

🛠 Development

git clone https://github.com/mirmousaviii/app-iconset-generator.git
cd app-iconset-generator
npm install
npx tsc
npm link # to use the local CLI tool
npm unlink -g app-iconset-generator # to remove the local CLI tool
app-iconset-generator -i ./example/logo.png -o ./example
# Or test with `node`
node dist/index.js -i ./example/logo.png -o ./example # Test in local

🤝 Contributing

If you have any idea, feel free to open an issue and/or create a pull request.

📜 License

This project is licensed under the MIT License.

1.2.0

4 months ago

1.1.4

4 months ago

1.1.3

4 months ago

1.1.2

4 months ago