@tradle/qr-schema

Data parser and creator for deep links of mycloud.

Stats

StarsIssuesVersionUpdatedCreatedSize
@tradle/qr-schema
003.0.52 months ago5 years agoMinified + gzip package size for @tradle/qr-schema in KB

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.