Cordova / PhoneGap plugin to create a bridge between javascript applications and harware accessories connected to a mobile device