node package manager


PhoneTap: a tapped version of PhoneGap, to do tests without running a simulator



PhoneTap attemps to mock all the PhoneGap behaviour to be able to develop applications without testing anything in the simulator

What is this?

A way of developing lib or tools for PhoneGap without to include it or run a simulator. All the methods (including the non-simulator friendly like 'camera') are included.


You can include the javascript if you develop with a browser

<script type="text/javascript" src=""></script>

Or you can use the npm package

$ npm install phonetap

Usage within Nodejs

var phonetap = require('phonetap');
var Camera = phonetap.Camera;
var navigator = phonetap.PhoneTap;

Usage in a browser

Just substitute or route the phonegap.js file with phonetap.js and that's it! now you can use all the fancy tools from PhoneGap