custom-protocol-detection-pkg
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

custom-protocol-detection-pkg

npm package of custom-protocol-detection.

Explain

the lib is npm package of custom-protocol-detection. you can use it check custom protocol whether installed in your device. If protocol is installed, it will be launch via broswer.

this is online demo. It will open your eamil app. try

Install

npm i custom-protocol-detection-pkg

Usage

import cpd from "custom-protocol-detection-pkg";

cpd(
  "mailto:johndoe@somewhere.com",
  () => {
    console.log("failed")
  },
  () => {
    console.log("successed")
  },
  () => {
    console.log("unsupported")
  }
);

License

MIT @hemengke1997

Dependencies (0)

    Dev Dependencies (16)

    Package Sidebar

    Install

    npm i custom-protocol-detection-pkg

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    12.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • thomas-void0