Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Can’t Find Cordova Plugin Docs?

DZone's Guide to

Can’t Find Cordova Plugin Docs?

· Web Dev Zone
Free Resource

Get deep insight into Node.js applications with real-time metrics, CPU profiling, and heap snapshots with N|Solid from NodeSource. Learn more.

With the last big release of Apache Cordova, plugins have now moved to npm. (Details may be found here: Plugins Release and Moving plugins to npm: April 21, 2015. One temporary side effect of this move is that the documentation is no longer working. So for example, when you go to the Camera plugin page, you see this:

shot1

This is simply a bug and one that will be fixed soon. (And if you’re curious, you can track the bug here: Markdown incompatible with GitHub flavour markdown) In the meantime, you’ve got a simple way to get to the docs.

Click the repo link on the right hand side:

shot2

This takes you to the repo at Apache, which may be a bit weird to you if you’ve only used GitHub before. Click tree to go to the source tree:

shot3

Then click the Raw link next to README.md. (Note there is also a useful RELEASENOTES.md file as well.)

shot4

And there ya go – the docs. Obviously this won’t be an issue for long, but for folks who may not be familiar with npm and Apache’s repo system, I thought this might help.

Node.js application metrics sent directly to any statsd-compliant system. Get N|Solid

Topics:
html5 ,cordova

Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}