ti8m / DocumentHandler

A phonegap plugin to handle documents (f.e. PDFs) loaded from a URL.
MIT License
30 stars 70 forks source link

Adds package.json #25

Open nbgraham opened 7 years ago

nbgraham commented 7 years ago

Allows the plugin to be added to a cordova project

I couldn't figure out how to install the plugin https://github.com/ti8m/DocumentHandler/issues/24.

I was able to add the plugin by following the Plugin Development Guide to create a package.json.

If you clone the repo with the package.json, you can add the plugin to your project with cordova plugin add <path_to_local_repo>

I would recommend adding a license to the plugin and publishing it to npm.