
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
ios-splash-generate
Advanced tools
Generate all required splash screen images from one source. Right size, right file name.
Generate all required splash screen images from one source. Right size, right file name.
The default splash screen image file names and required sizes for iOS are retrieved from the ios-splash module.
The files created have the default names as you might want to use them, for example, in config.xml of a PhoneGap/Cordova project and the correct dimensions.
A 2208x2208 source image gets scaled first and then cropped to the target dimensions. If you put the relevant part (logo, text, etc.) of your splash screen in the exact center of your source image, this means that the resulting images are all going to be centered as well.
$ npm install --save ios-splash-generate
var generate = require('ios-splash-generate');
generate('path/to/source.png', 'output/splash/').then(function() {
// splash images created
});
$ npm install --global ios-splash-generate
$ ios-splash-generate --help
Generate all required splash screen images from one source. Right size, right file name.
Example
$ ios-splash-generate -i path/to/source.png -o path/to/output/
MIT © David Pfahler
FAQs
Generate all required splash screen images from one source. Right size, right file name.
The npm package ios-splash-generate receives a total of 6 weekly downloads. As such, ios-splash-generate popularity was classified as not popular.
We found that ios-splash-generate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.