Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 805 Bytes

README.md

File metadata and controls

41 lines (30 loc) · 805 Bytes

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.