
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@codexteam/deeplinker
Advanced tools
Tiny script that helps you upgrade links to open apps directly if it is possible
Tiny script that helps you upgrade links to open apps directly if it is possible.
You can use deeplinking system to open apps by links with custom schemes. Instagram's deeplinks docs as an example.
You can install script via package managers or download it to your server.
Install package
npm install @codexteam/deeplinker --save
yarn add @codexteam/deeplinker
Then require deeplinker
module
const deeplinker = require('@codexteam/deeplinker');
Download dist/deeplinker.js file to your server and add it to your webpage.
<script src="dist/deeplinker.js" async></script>
Call deeplinker.click(element)
function. Element should contains the following params:
data-link
or href
with a usual linkdata-app-link
with a deep link (with custom protocol) to an applicationUpgrade your link element by adding a listener with preventing default action. Set up data-app-link
param.
<a href="https://www.instagram.com/codex_team/"
onclick="event.preventDefault(); deeplinker.click(this)"
data-app-link="instagram://user?username=codex_team">Follow us on Instagram</a>
Or add listener to any element. Set up data-link
and data-app-link
params.
<div onclick="deeplinker.click(this)"
data-link="https://t.me/codex_team"
data-app-link="tg://resolve?domain=codex_team">Join our Telegram-channel</div>
If you want to try open app silently then call deeplinker.tryToOpenApp(deepLink)
.
Could be useful for redirection or invitation pages.
Doesn't works on mobile devices.
<body onload="deeplinker.tryToOpenApp('tg://user?username=codex_team')">
MIT
FAQs
Tiny script that helps you to use one link to open web pages or installed apps
The npm package @codexteam/deeplinker receives a total of 0 weekly downloads. As such, @codexteam/deeplinker popularity was classified as not popular.
We found that @codexteam/deeplinker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.