Skip to content

lsongdev/open-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPEN APP open-app

open app in webpage at mobile device

Installation

$ npm install open-app

or

<script src="//cdn.rawgit.com/song940/open-app/master/index.js" ></script>

Example

var open = openApp({
  package: 'com.sankuai.movie',
  scheme : 'meituanmovie://www.meituan.com/movie?id=78535&nm=功夫熊猫3'
});

open(); // open app

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.