{"_id":"ios-pwa-splash","name":"ios-pwa-splash","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"ios-pwa-splash","version":"1.0.0","description":"Generate iOS PWA splash screens on the fly!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/avadhesh18/iosPWASplash.git"},"keywords":["ios","splash","screen","pwa","apple","iphone","front-end","mobile","ipad"],"author":{"name":"Avadhesh B"},"license":"MIT","bugs":{"url":"https://github.com/avadhesh18/iosPWASplash/issues"},"homepage":"https://github.com/avadhesh18/iosPWASplash#readme","gitHead":"d594fae03b8f2667424297ece19bb33bcf814fc9","_id":"ios-pwa-splash@1.0.0","_nodeVersion":"20.3.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-3T2D1G88RvSU9MpdUHeh3MaQ7AW9r280CyBgKzt96x7bd7/dPpDdDeYmuF4I35OTsWVNHweQkBwN9q07+/rQjQ==","shasum":"f35e20805811cbbddb1909ab2256bb4b7e3c2e3a","tarball":"https://registry.npmjs.org/ios-pwa-splash/-/ios-pwa-splash-1.0.0.tgz","fileCount":4,"unpackedSize":6963,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmgJM+5PbRL1spOLyzpT4YTwuukw8y2ITIUfzmw+7HfgIhALMxGg8Va8Xw0jtdoIDwJVj3TJGYWTHatoWAwgADHit9"}]},"_npmUser":{"name":"avadhesh18","email":"avadheshjahazpur@gmail.com"},"directories":{},"maintainers":[{"name":"avadhesh18","email":"avadheshjahazpur@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ios-pwa-splash_1.0.0_1695473340578_0.7043444555068803"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-23T12:49:00.577Z","1.0.0":"2023-09-23T12:49:00.737Z","modified":"2023-09-23T12:49:01.090Z"},"maintainers":[{"name":"avadhesh18","email":"avadheshjahazpur@gmail.com"}],"description":"Generate iOS PWA splash screens on the fly!","homepage":"https://github.com/avadhesh18/iosPWASplash#readme","keywords":["ios","splash","screen","pwa","apple","iphone","front-end","mobile","ipad"],"repository":{"type":"git","url":"git+https://github.com/avadhesh18/iosPWASplash.git"},"author":{"name":"Avadhesh B"},"bugs":{"url":"https://github.com/avadhesh18/iosPWASplash/issues"},"license":"MIT","readme":"#ios-pwa-splash\n\nios-pwa-splash\n==============\n\nGenerate iOS Progressive Web App (PWA) splash screens with ease. Save yourself the hassle of writing multiple meta tags for Apple iPhone and iPad devices.\n\n [![NPM Version](https://img.shields.io/npm/v/ios-pwa-splash.svg)](https://www.npmjs.com/package/ios-pwa-splash)\n\nInstallation\n------------\n\nYou can install `ios-pwa-splash` using npm or yarn:\n\n    npm install ios-pwa-splash\n    # or\n    yarn add ios-pwa-splash\n    \n\nUsage\n-----\n\n    const iosPWASplash = require('ios-pwa-splash');\n    \n    // Generate iOS PWA splash screens\n    iosPWASplash('path/to/icon.png', 'background-color');\n    \n\n*   `icon`: URL or local path to the app icon image (recommended size: 512px x 512px, will be resized based on device pixel ratio).\n*   `background-color`: Background color for the splash screen (optional, defaults to 'white').\n\nThe `iosPWASplash` function generates iOS PWA splash screens for both portrait and landscape orientations and automatically adds them to the HTML `head` element.\n\nExample\n-------\n\n    const iosPWASplash = require('ios-pwa-splash');\n    \n    // Generate iOS PWA splash screens with a custom background color\n    iosPWASplash('path/to/icon.png', '#3498db');\n    \n\nTest PWA\n-------\nVisit https://avadhesh18.github.io/iosPWASplashtest/ from your Apple iPhone or iPad device to test.\n\nError Handling\n--------------\n\n*   If the provided icon URL is invalid or empty, an error will be thrown.\n*   If there's an issue loading the icon image, an error will be thrown.\n\nLicense\n-------\n\nThis project is licensed under the MIT License.","readmeFilename":"README.md"}