@tradle/qr-schema
v3.0.5
Published
Data parser and creator for deep links of mycloud.
Downloads
35
Keywords
Readme
@tradle/qr-schema
Data parser and creator for the creation of deep links for mycloud applications.
Usage
const { links: { getAppLink, parseLink } } = require('.')
const link = getAppLink({
platform: 'mobile',
path: 'chat',
query: { foo: 'bar' },
baseUrl: 'https://link.tradle.io',
provider: 'abc',
host: 'https://some.tradle.server',
})
console.log(link)
console.log(parseLink(link))
License
MIT