{"_id":"@astroimg/trywakeup","_rev":"6-ac42dee8c326d0f8aae25b79e0bb2642","name":"@astroimg/trywakeup","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@astroimg/trywakeup","version":"1.0.0","keywords":["wakeup","deeplink","app","umeng","javascript"],"author":{"name":"3117136859@qq.com"},"license":"MIT","_id":"@astroimg/trywakeup@1.0.0","maintainers":[{"name":"zenonux","email":"zenonux@outlook.com"},{"name":"felixwangx","email":"3117136859@qq.com"}],"homepage":"https://github.com/flexxWang/weakUp#readme","bugs":{"url":"https://github.com/flexxWang/weakUp/issues"},"dist":{"shasum":"d04870e7641fad00d7194dce1036e0404f1dfe17","tarball":"https://registry.npmjs.org/@astroimg/trywakeup/-/trywakeup-1.0.0.tgz","fileCount":7,"integrity":"sha512-euXZa1nfRx6+sc2jyrBgQLqksixd8CnAdB0xBVB/zVt1RdDw9Xr7fZbjr6LLuoi7k6gkDMiXxV5e6xFzakN2HA==","signatures":[{"sig":"MEQCIEq77GmsdaRI9D+Zbs+CWdeLN0CNLYyC1OHHyjDv5N8aAiBH2gz/4NWaqgpyG/UhSUXV+B/PfxjiLVbkSLO4t7elIg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71521},"main":"dist/trywakeup.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/trywakeup.esm.js","gitHead":"5d7191afa25947aafcc82f0142ede8cc62b57fb3","scripts":{"build":"rollup -c","prepare":"npm run build","release":"npm publish --access public"},"_npmUser":{"name":"felixwangx","email":"3117136859@qq.com"},"repository":{"url":"git+https://github.com/flexxWang/weakUp.git","type":"git"},"_npmVersion":"10.9.0","description":"A lightweight JS utility to wakeup app (similar to Umeng trackLinkWakeup).","directories":{},"_nodeVersion":"22.12.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.29.5","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.0.2"},"_npmOperationalInternal":{"tmp":"tmp/trywakeup_1.0.0_1760578509836_0.6343472910870682","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@astroimg/trywakeup","version":"1.0.1","keywords":["wakeup","deeplink","app","umeng","javascript"],"author":{"name":"3117136859@qq.com"},"license":"MIT","_id":"@astroimg/trywakeup@1.0.1","maintainers":[{"name":"zenonux","email":"zenonux@outlook.com"},{"name":"felixwangx","email":"3117136859@qq.com"}],"homepage":"https://github.com/flexxWang/weakUp#readme","bugs":{"url":"https://github.com/flexxWang/weakUp/issues"},"dist":{"shasum":"2929ed08fd4842a67396558645e126c9a62e35d5","tarball":"https://registry.npmjs.org/@astroimg/trywakeup/-/trywakeup-1.0.1.tgz","fileCount":7,"integrity":"sha512-UYBsFxRsp0McEf4jnYURKniugLM26LxQSOoeYbYz0Y4uHomSLya1g7pBrSk7/DiPeF5NwNWDL9Tu9jLfeR4eaQ==","signatures":[{"sig":"MEUCIQDG0tpX54oyF47qN3feUDO4mkk9qzAWgvKT1aKcwrqasAIgZ1ERsqtu7ruklp8t8aceduPCaO3bL2H6L73yk0IzYvE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71544},"main":"dist/trywakeup.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/trywakeup.esm.js","gitHead":"328788c9119a44b7eece806c4bb71f5b5ae74c69","scripts":{"build":"rollup -c","prepare":"npm run build","release":"npm publish --access public"},"_npmUser":{"name":"felixwangx","email":"3117136859@qq.com"},"repository":{"url":"git+https://github.com/flexxWang/weakUp.git","type":"git"},"_npmVersion":"10.9.0","description":"A lightweight JS utility to wakeup app (similar to Umeng trackLinkWakeup).","directories":{},"_nodeVersion":"22.12.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.29.5","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.0.2"},"_npmOperationalInternal":{"tmp":"tmp/trywakeup_1.0.1_1760578742215_0.9007963545329185","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@astroimg/trywakeup","version":"1.0.2","keywords":["wakeup","deeplink","app","umeng","javascript"],"author":{"name":"3117136859@qq.com"},"license":"MIT","_id":"@astroimg/trywakeup@1.0.2","maintainers":[{"name":"zenonux","email":"zenonux@outlook.com"},{"name":"felixwangx","email":"3117136859@qq.com"}],"homepage":"https://github.com/flexxWang/weakUp#readme","bugs":{"url":"https://github.com/flexxWang/weakUp/issues"},"dist":{"shasum":"045cb017bbc5b76133d92a8a62ac44e6dbfc0e58","tarball":"https://registry.npmjs.org/@astroimg/trywakeup/-/trywakeup-1.0.2.tgz","fileCount":8,"integrity":"sha512-sdiYKWwJ+NCmKuV3946UiFdWQ+oYDC41w3Nl9iRHoE7sJiXHapIYqoBNZ43t1XtiCjlsOMuDXOOYDELE2rTnVw==","signatures":[{"sig":"MEQCIGWU+g2yi860mXsiIL6uMPoVWxpG+x9syhBiLnY32jMSAiApCB0Pw6hmgmjI1l5P/afYof3gtoJbfhPq9Ui1705OoQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72338},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"ed66d5a044d0ea700f46a48f418daee247905930","scripts":{"build":"rollup -c","prepare":"npm run build","release":"npm publish --access public"},"_npmUser":{"name":"felixwangx","email":"3117136859@qq.com"},"repository":{"url":"git+https://github.com/flexxWang/weakUp.git","type":"git"},"_npmVersion":"10.9.0","description":"A lightweight JS utility to wakeup app (similar to Umeng trackLinkWakeup).","directories":{},"_nodeVersion":"22.12.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.29.5","rollup-plugin-dts":"^6.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.0.2"},"_npmOperationalInternal":{"tmp":"tmp/trywakeup_1.0.2_1760681686178_0.6178592860504775","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@astroimg/trywakeup","version":"1.0.3","keywords":["wakeup","deeplink","app","umeng","javascript"],"author":{"name":"3117136859@qq.com"},"license":"MIT","_id":"@astroimg/trywakeup@1.0.3","maintainers":[{"name":"zenonux","email":"zenonux@outlook.com"},{"name":"felixwangx","email":"3117136859@qq.com"}],"homepage":"https://github.com/flexxWang/weakUp#readme","bugs":{"url":"https://github.com/flexxWang/weakUp/issues"},"dist":{"shasum":"24c6b819daf3f5ce89fc0526a60bdc8821ae8e8b","tarball":"https://registry.npmjs.org/@astroimg/trywakeup/-/trywakeup-1.0.3.tgz","fileCount":8,"integrity":"sha512-T4Y0d8QhrgWE2S7K9eyRhezc3Oqp9gZkBKszS+xCt3GZweS7xz9/0Jt5/hTbabTV5CsyzkgKvU0yjQuU2b6qwA==","signatures":[{"sig":"MEUCIQDWW40f1xfykgcLAw+Xhf8GJOd0DGNAYAgt1K++q0mgGQIgI1CrWuOrhK7KnIh7UOa5b3GFCtx49uv/1yYcsO2KexQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73102},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"06eea6c91410aaed334531614cdda54e04b3cdfd","scripts":{"build":"rollup -c","prepare":"npm run build","release":"npm publish --access public"},"_npmUser":{"name":"felixwangx","email":"3117136859@qq.com"},"repository":{"url":"git+https://github.com/flexxWang/weakUp.git","type":"git"},"_npmVersion":"10.9.0","description":"A lightweight JS utility to wakeup app (similar to Umeng trackLinkWakeup).","directories":{},"_nodeVersion":"22.12.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.29.5","rollup-plugin-dts":"^6.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.0.2"},"_npmOperationalInternal":{"tmp":"tmp/trywakeup_1.0.3_1763541475242_0.2976179944986195","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@astroimg/trywakeup","version":"1.0.4","keywords":["wakeup","deeplink","app","umeng","javascript"],"author":{"name":"3117136859@qq.com"},"license":"MIT","_id":"@astroimg/trywakeup@1.0.4","maintainers":[{"name":"zenonux","email":"zenonux@outlook.com"},{"name":"felixwangx","email":"3117136859@qq.com"}],"homepage":"https://github.com/flexxWang/weakUp#readme","bugs":{"url":"https://github.com/flexxWang/weakUp/issues"},"dist":{"shasum":"a752cebe46ffb39c67ecf5699fa233660dc202ce","tarball":"https://registry.npmjs.org/@astroimg/trywakeup/-/trywakeup-1.0.4.tgz","fileCount":8,"integrity":"sha512-Kwb1EAbivUUoWnb57P0o+RV1kOpP23BIhmyuo1DrFIEtKkIhMTfjZetZHkL/zGYlN4+F5sNPSqWNCiSUxYtyww==","signatures":[{"sig":"MEQCIHLYQpcrcSDnKfFCmvOtjBYdBYIUWsZL7txroQ2gKnntAiAEy7h06IwOfOfEk0SGyW+oy7mftlvdxvQypUjrtGQFXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73760},"main":"dist/index.cjs.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"66d1f8b0e9cb69ee6e8f9de8fb1fcbbb183f4504","scripts":{"build":"rollup -c","prepare":"npm run build","release":"npm publish --access public"},"_npmUser":{"name":"felixwangx","email":"3117136859@qq.com"},"repository":{"url":"git+https://github.com/flexxWang/weakUp.git","type":"git"},"_npmVersion":"10.9.0","description":"A lightweight JS utility to wakeup app (similar to Umeng trackLinkWakeup).","directories":{},"_nodeVersion":"22.12.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^3.29.5","rollup-plugin-dts":"^6.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.0.2"},"_npmOperationalInternal":{"tmp":"tmp/trywakeup_1.0.4_1763545395778_0.21042784593819364","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@astroimg/trywakeup","version":"1.0.5","type":"module","description":"A lightweight JS utility to wakeup app (similar to Umeng trackLinkWakeup).","main":"dist/index.cjs.js","module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"build":"rollup -c","prepare":"npm run build","release":"npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/flexxWang/weakUp.git"},"keywords":["wakeup","deeplink","app","umeng","javascript"],"author":{"name":"3117136859@qq.com"},"license":"MIT","devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.4","rollup":"^3.29.5","rollup-plugin-dts":"^6.2.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_id":"@astroimg/trywakeup@1.0.5","gitHead":"35890c65f55176399b8bdf09f9d77ed1dd96f045","bugs":{"url":"https://github.com/flexxWang/weakUp/issues"},"homepage":"https://github.com/flexxWang/weakUp#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-CTkbSDk5+2rk2G5q/GSiMdpjHCDngdI2iPkVMM1bT7lgu55yHpo/Y/KczIIGHjrvJXhxSSqi9oT0IG3embrgYA==","shasum":"4a62b49eb38720357fa06c995a3a4d23cb293a4c","tarball":"https://registry.npmjs.org/@astroimg/trywakeup/-/trywakeup-1.0.5.tgz","fileCount":8,"unpackedSize":73886,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDCgnGk86TWUrh0tix08c9ObwnGCgHENMC4nuZXykfLQAIgYuihUWOPdPieBOKZbFT9jrw49huze+pyonj3NcXf7OU="}]},"_npmUser":{"name":"felixwangx","email":"3117136859@qq.com"},"directories":{},"maintainers":[{"name":"zenonux","email":"zenonux@outlook.com"},{"name":"felixwangx","email":"3117136859@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/trywakeup_1.0.5_1763547084114_0.6440857794199075"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-16T01:35:09.747Z","modified":"2025-11-19T10:11:24.542Z","1.0.0":"2025-10-16T01:35:10.017Z","1.0.1":"2025-10-16T01:39:02.409Z","1.0.2":"2025-10-17T06:14:46.391Z","1.0.3":"2025-11-19T08:37:55.453Z","1.0.4":"2025-11-19T09:43:15.987Z","1.0.5":"2025-11-19T10:11:24.323Z"},"bugs":{"url":"https://github.com/flexxWang/weakUp/issues"},"author":{"name":"3117136859@qq.com"},"license":"MIT","homepage":"https://github.com/flexxWang/weakUp#readme","keywords":["wakeup","deeplink","app","umeng","javascript"],"repository":{"type":"git","url":"git+https://github.com/flexxWang/weakUp.git"},"description":"A lightweight JS utility to wakeup app (similar to Umeng trackLinkWakeup).","maintainers":[{"name":"zenonux","email":"zenonux@outlook.com"},{"name":"felixwangx","email":"3117136859@qq.com"}],"readme":"# trywakeup\n\nA lightweight JS utility to wakeup app (similar to Umeng `trackLinkWakeup`).\n\n## Installation\n\n```bash\nnpm install @astroimg/trywakeup\n```\n\n## Usage\n\n```js\nimport Wakeup from \"@astroimg/trywakeup\";\n\nconst { startULink } = Wakeup;\n\nstartULink([\n  {\n    id: uLinkId,\n    data,\n    selector,\n    timeout: 1500,\n    iosDeepLinksData,\n    androidDeepLinksData,\n    lazy: false,\n    useOpenInBrowerTips: \"default\",\n    proxyOpenDownload: function (defaultAction, linkInstance) {\n      if (linkInstance.solution) {\n        if (\n          window.navigator.userAgent.toLowerCase().includes(\"micromessenger\")\n        ) {\n          defaultAction();\n        } else {\n          window.location.href = linkInstance.solution.downloadUrl;\n        }\n      }\n    },\n  },\n]);\n```\n\n## License\n\nMIT License © 2025 Felix Wang\n","readmeFilename":"README.md"}