@boundstate/firebase-dynamic-links

Firebase Dynamic Links API client

Usage no npm install needed!

<script type="module">
  import boundstateFirebaseDynamicLinks from 'https://cdn.skypack.dev/@boundstate/firebase-dynamic-links';
</script>

README

@boundstate/firebase-dynamic-links

Firebase Dynamic Links API client written in TypeScript.

$ npm install @boundstate/firebase-dynamic-links

Quick start

import {FirebaseDynamicLinks} from '@boundstate/firebase-dynamic-links';

const links = new FirebaseDynamicLinks({apiKey: 'secret'});

const {shortLink, warning} = await links.createShortLink({
  dynamicLinkInfo: {
    dynamicLinkDomain: 'abc123.app.goo.gl',
    link: 'https://example.com',
  },
});