@macpaw/browser-deeplink
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

browser-deeplink

Tiny function to open application from browser. Resolves if the application was requested to open.

import { browserDeeplink } from '@macpaw/browser-deeplink';

browserDeeplink('cleanmymac://signin?email=1%401.com&src=dashboard')
  .then(() => {
    console.log('application is requested to open')
  })
  .catch(() => {
    console.log('application is not installed')
  });

Readme

Keywords

none

Package Sidebar

Install

npm i @macpaw/browser-deeplink

Weekly Downloads

824

Version

1.2.0

License

MIT

Unpacked Size

3.27 kB

Total Files

5

Last publish

Collaborators

  • ci-macpaw
  • yzerman
  • nas1k-macpaw
  • hraboviyvadim
  • wallwhite
  • suspansa
  • myzuka
  • okovpashko
  • onikiienko
  • moomoo
  • voloshchenkoal