song940 / open-app

open app in webpage at mobile device .

Home Page:https://npmjs.org/open-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


About

open app in webpage at mobile device .

https://npmjs.org/open-app

License:MIT License


Languages

Language:JavaScript 82.1%Language:HTML 17.9%