{"_id":"@awesome-cordova-library/splashscreen","_rev":"1-c52f6dd3605db389a506a134b7e9992b","name":"@awesome-cordova-library/splashscreen","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@awesome-cordova-library/splashscreen","version":"1.0.0","description":"This plugin displays and hides a splash screen while your web application is launching. Using its methods you can also show and hide the splash screen manually.","main":"lib/index.js","types":"lib/index.d.ts","keywords":["cordova","capacitor","ionic","javascript","mobile","splashscreen"],"publishConfig":{"access":"public"},"author":{"name":"Jordan AZOULAY","email":"jazoulay@joazco.com","url":"https://github.com/joazco"},"license":"SEE LICENSE IN LICENSE","repository":{"type":"git","url":"git://github.com/joazco/awesome-cordova-library.git"},"bugs":{"url":"https://github.com/joazco/awesome-cordova-library/issues"},"homepage":"https://github.com/joazco/awesome-cordova-library","devDependencies":{"@types/jest":"^27.5.1","@types/react":"~17.0.21","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.3","tslint":"^6.1.3","tslint-config-prettier":"^1.18.0","typescript":"^4.7.2"},"scripts":{"build":"rm -rf lib/ && tsc","build-yalc":"npm run build; yalc publish --push --private","test":"jest --config jestconfig.json","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepublish":"npm run format; npm run lint; npm test; npm run build"},"directories":{"lib":"lib"},"dependencies":{},"_id":"@awesome-cordova-library/splashscreen@1.0.0","_nodeVersion":"14.15.1","_npmVersion":"8.5.2","dist":{"integrity":"sha512-3/2WWCMx9UU16jvgMlpea4KTRj/vBTdBBblHwQscxz+aVLna+yjyyjai9moPntUSihrkVHB2vEdFQzp47c+pow==","shasum":"ca7c842a339de313e754e24c39fafd9297a3f7e8","tarball":"https://registry.npmjs.org/@awesome-cordova-library/splashscreen/-/splashscreen-1.0.0.tgz","fileCount":7,"unpackedSize":7286,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFsAffOpg12OTVo0NZgbdUx0wmw/goSPmyKImLzFWAhAiEAmxhW9bAnRPX4K6BzgzMLoiLtxwbDrHDyyu1ojX2YGLE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJil26qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpeZw/9FL+M2tAO7CKTemUsM32mmvNv+Vl+LNVU1JkSI1tjOyxv7DCy\r\ny2S7rEyn8QEEgs4gZU5oY4UocziSgmUbdKnTz6wN3Xz8dNcTnm+FpxgwJ08+\r\ni+N4eth3OIS7EdFNrPBgApbwuo3qvTFEXhqoFoAJQVrrZDgvf0xSe6xMPCPz\r\n+FdY7PRTANUanje1F6tNrg7YYUX0YFv56sX+HAJmshEAc/S8/izBh/gDEOKO\r\nm7uq5vrBkcsWyisdVCJOzN5yiGqFgS7nZZOiloI0qF5dzWRbSrlc24UBlm+d\r\nJKwc/WZPDWn3CD7Ka+Q3QQ6iHMiW8YvQiAnClJiF03D0427YlNoDKsKKsA9B\r\nldyntq9iiE//xHmx/Sdb1r5VQqRG3IBRSDIamyXtxyt8WDoEXA8sIExplPl3\r\nEdiwULQH35m5w/SiOwIEkLEi/JDskqLHi7/EfnNa6t00ORYiNFl7c9A30vh6\r\n/JFjMgQYx3AUPWhao8RXlwreZ0NbhdlHRBOSip2hgCKkPFmqVl1gIiOGli/d\r\n8jNR1ab5jk9AOGgLsBTsEZoxqdGBbaAIsPaoICo2IzdOnTtKTmKbowrFLBF5\r\njS3qJWSBPQu5JswI1/etgsya9q1zUTxBxGGyaVcztKukhg1YqEr7WXE0pW3J\r\nZpAMI0huidjajUBBt8R7xzIQ6rmX4eX6OBI=\r\n=6qVi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"joazco","email":"jazoulay@joazco.com"},"maintainers":[{"name":"joazco","email":"jazoulay@joazco.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/splashscreen_1.0.0_1654091434240_0.022107279773863953"},"_hasShrinkwrap":false},"1.0.1":{"name":"@awesome-cordova-library/splashscreen","version":"1.0.1","description":"This plugin displays and hides a splash screen while your web application is launching. Using its methods you can also show and hide the splash screen manually.","main":"lib/index.js","types":"lib/index.d.ts","keywords":["cordova","capacitor","ionic","javascript","mobile","splashscreen"],"publishConfig":{"access":"public"},"author":{"name":"Jordan AZOULAY","email":"jazoulay@joazco.com","url":"https://github.com/joazco"},"license":"SEE LICENSE IN LICENSE","repository":{"type":"git","url":"git://github.com/joazco/awesome-cordova-library.git"},"bugs":{"url":"https://github.com/joazco/awesome-cordova-library/issues"},"homepage":"https://github.com/joazco/awesome-cordova-library","devDependencies":{"@types/jest":"^27.5.1","@types/react":"~17.0.21","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.3","tslint":"^6.1.3","tslint-config-prettier":"^1.18.0","typescript":"^4.7.2"},"scripts":{"build":"rm -rf lib/ && tsc","build-yalc":"npm run build; yalc publish --push --private","test":"jest --config jestconfig.json","format":"prettier --write \"src/**/*.ts\"","lint":"tslint -p tsconfig.json","prepublish":"npm run format; npm run lint; npm test; npm run build"},"directories":{"lib":"lib"},"dependencies":{},"gitHead":"2a2b9cf007a870056251632315547e6a651d26a0","_id":"@awesome-cordova-library/splashscreen@1.0.1","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-5Tu67Xav8WBO2wALCyZKzyk1JNIz0E4q0YlWHbdH2yKdGUV+csyoLO71FupLf57GH0cQ6yaAq6hYz1AOliJ+mQ==","shasum":"c7b15c4d6181cea819fb3cc26c9bdde17583914f","tarball":"https://registry.npmjs.org/@awesome-cordova-library/splashscreen/-/splashscreen-1.0.1.tgz","fileCount":7,"unpackedSize":7642,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnw5af9BT2/JeV+oDDUMXPtH3M3rIBt05gqpAt6stk0wIhAOKFf7Mp+EqecM6gTuCa6xZcYtztVoDslqQfsW2N7WoL"}]},"_npmUser":{"name":"joazco","email":"jazoulay@joazco.com"},"maintainers":[{"name":"joazco","email":"jazoulay@joazco.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/splashscreen_1.0.1_1694499466766_0.7402955522274386"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-01T13:50:34.190Z","1.0.0":"2022-06-01T13:50:34.402Z","modified":"2023-09-12T06:17:47.150Z","1.0.1":"2023-09-12T06:17:46.946Z"},"maintainers":[{"name":"joazco","email":"jazoulay@joazco.com"}],"description":"This plugin displays and hides a splash screen while your web application is launching. Using its methods you can also show and hide the splash screen manually.","homepage":"https://github.com/joazco/awesome-cordova-library","keywords":["cordova","capacitor","ionic","javascript","mobile","splashscreen"],"repository":{"type":"git","url":"git://github.com/joazco/awesome-cordova-library.git"},"author":{"name":"Jordan AZOULAY","email":"jazoulay@joazco.com","url":"https://github.com/joazco"},"bugs":{"url":"https://github.com/joazco/awesome-cordova-library/issues"},"license":"SEE LICENSE IN LICENSE","readme":"---\nid: plugin-splashscreen\ntitle: Splashscreen\ntags:\n  - cordova\n  - capacitor\n  - ionic\n  - javascript\n  - typescript\n  - plugin\n  - mobile\n  - splashscreen\n---\n\n# Splashscreen\n\nThis plugin displays and hides a splash screen while your web application is launching. Using its methods you can also show and hide the splash screen manually.\n\n[Online documentation](https://awesomecordovalibrary.com)\n\n[Cordova documentation](https://cordova.apache.org/docs/en/11.x/reference/cordova-plugin-splashscreen/index.html#methods)\n\n## Installation\n\n### Cordova\n\n```sh\ncordova plugin add cordova-plugin-splashscreen\nnpm install @awesome-cordova-library/splashscreen\n```\n\n### Capacitor / Ionic\n\n```bash\nnpm install cordova-plugin-splashscreen\nnpm install @awesome-cordova-library/splashscreen\nnpx cap sync\n```\n\n## Vanilla\n\n### Declaration\n\n```typescript\nclass SplashScreen {\n  static show(): void;\n  static hide(): void;\n}\n```\n\n### Usages\n\n```typescript\nimport SplashScreen from \"@awesome-cordova-library/SplashScreen\";\n\n// Displays the splash screen.\nSplashScreen.show();\n\n// Dismiss the splash screen.\nSplashScreen.hide();\n```\n\n## React\n\n### Declaration\n\n```typescript\nconst useSplashScreen: () => {\n  show: () => void;\n  hide: () => void;\n};\n```\n\n### Usages\n\n```typescript\nimport { useEffect } from \"react\";\nimport useSplashScreen from \"@awesome-cordova-library/splashscreen/lib/react\";\n\nfunction App() {\n  const { show, hide } = useSplashScreen();\n\n  useEffect(() => {\n    show();\n    setTimeout(() => {\n      hide();\n    }, 3000);\n  }, []);\n\n  return <div />;\n}\n```\n","readmeFilename":"README.md"}