app-store-link
v1.0.2
Published
Generate a link to an iOS or Google Play app
Downloads
180
Readme
app-store-link
Generate a link to iOS or google play app
Uses these specs: App Store, Play Store
Install
$ npm install --save app-store-link
Usage
var link = require('app-store-link')
link.ios('123')
// => https://itunes.apple.com/us/app/id123?mt=8'
link.android('com.my.app')
// => https://play.google.com/store/apps/details?id=com.my.app
link.android('com.my.app', {native: true})
// => market://details?id=com.my.app
Related
License
MIT © Andrew Joslin