A toolbelt created for PWA developers.
- Generate icons in all sizes;
- Generate rounded icons;
- Generate splash screens for iOS;
- Resize splash screens without cropping content;
npm install -g rocketpwa
rocketpwa -h
rocketpwa --icon icon.png
You can also add an -r
parameter to create rounded corner icons.
rocketpwa --splash splash.png
By default, rocketpwa will try to find the best match for positioning splash screen on different screen sizes but sometimes you may encounter crop problems.
To bypass that, you can simple add an --fill
parameter to set the fallback background color for splash screens:
rocketpwa --splash splash.png --fill "#7159C1"
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request