0.0.2 • Published 6 years ago
@boundstate/firebase-dynamic-links v0.0.2
@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',
},
});