{"maintainers":[{"email":"ematiu@gmail.com","name":"dev"},{"email":"stephen@pairhome.net","name":"dev"},{"email":"nitsujlangston@gmail.com","name":"dev"}],"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"dist-tags":{"latest":"3.0.1","old":"2.6.2"},"author":{"name":"Jason Dreyzehner"},"description":"Fast, energy-efficient, highly-configurable QR code scanner.","readme":"[![Build Status](https://travis-ci.org/bitpay/cordova-plugin-qrscanner.svg?branch=master)](https://travis-ci.org/bitpay/cordova-plugin-qrscanner) [![npm](https://img.shields.io/npm/v/cordova-plugin-qrscanner.svg)](https://www.npmjs.com/package/cordova-plugin-qrscanner) [![npm](https://img.shields.io/npm/dm/cordova-plugin-qrscanner.svg)](https://www.npmjs.com/package/cordova-plugin-qrscanner)\n[![Dependency Status](https://david-dm.org/bitpay/cordova-plugin-qrscanner.svg)](https://david-dm.org/bitpay/cordova-plugin-qrscanner)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n# cordova-plugin-qrscanner\nA fast, energy efficient, highly-configurable QR code scanner for Cordova apps – available for the iOS, Android, Windows, and browser platforms.\n\nQRScanner's native camera preview is rendered behind the Cordova app's webview, and QRScanner provides `show` and `hide` methods to toggle the transparency of the webview's background. This allows for a completely HTML/CSS/JS interface to be built inside the webview to control the scanner.\n\n## Examples\n\n<!-- Does your project use cordova-plugin-qrscanner? We'd love to share a screenshot of your scanning interface! Please send a pull request adding your screenshot to the list below. -->\n\n<table>\n<tr align=\"center\">\n<!-- Please be sure your screenshot is hosted by cloud.githubusercontent.com. (You can upload by adding the image to any GitHub issue. -->\n<td><img height=\"450\" src=\"https://cloud.githubusercontent.com/assets/904007/24809138/943a9628-1b8c-11e7-8659-828c8060a9b6.PNG\" alt=\"BitPay – Secure Bitcoin Wallet\"></td>\n<td><img height=\"450\" src=\"https://cloud.githubusercontent.com/assets/904007/24809499/b192a246-1b8d-11e7-9f3b-e85ae480fdd6.PNG\" alt=\"Copay Bitcoin Wallet Platform\"></td>\n<td><img height=\"450\" src=\"https://cloud.githubusercontent.com/assets/5379359/25655918/0909bac8-2ff7-11e7-8775-ebb11bb085d6.png\" alt=\"BitPocket Point Of Sale App\"></td>\n</tr>\n<tr align=\"center\">\n<!-- Please provide a title and, if possible, a link to your project. -->\n<td><a href=\"https://bitpay.com/wallet\">BitPay – Secure Bitcoin Wallet</a></td>\n<td><a href=\"https://github.com/bitpay/copay\">bitpay/copay</a></td>\n<td><a href=\"https://github.com/getbitpocket/bitpocket-mobile-app\">BitPocket - Bitcoin Point of Sale App</a></td>\n</tr>\n</table>\n\n## Get Started\n\n```bash\ncordova plugin add cordova-plugin-qrscanner\n```\n\nSimply adding this plugin to the Cordova project will make the `window.QRScanner` global object available once the `deviceready` event propagates.\n\n### Usage\n\nThere are two primary steps to integrating `cordova-plugin-qrscanner`.\n\n#### 1. Get Permission Early (Optional)\n\n**This step is optional** – if the best place for your app to ask for camera permissions is at the moment scanning begins, you can safely skip this step.\n\nIf there's a better place in your app's onboarding process to ask for permission to use the camera (\"permission priming\"), this plugin makes it possible to ask prior to scanning using the [`prepare` method](#prepare). The `prepare` method initializes all the infrastructure required for scanning to happen, including (if applicable) asking for camera permissions. This can also be done before attempting to show the video preview, making your app feel faster and more responsive.\n\n```js\n// For the best user experience, make sure the user is ready to give your app\n// camera access before you show the prompt. On iOS, you only get one chance.\n\nQRScanner.prepare(onDone); // show the prompt\n\nfunction onDone(err, status){\n  if (err) {\n   // here we can handle errors and clean up any loose ends.\n   console.error(err);\n  }\n  if (status.authorized) {\n    // W00t, you have camera access and the scanner is initialized.\n    // QRscanner.show() should feel very fast.\n  } else if (status.denied) {\n   // The video preview will remain black, and scanning is disabled. We can\n   // try to ask the user to change their mind, but we'll have to send them\n   // to their device settings with `QRScanner.openSettings()`.\n  } else {\n    // we didn't get permission, but we didn't get permanently denied. (On\n    // Android, a denial isn't permanent unless the user checks the \"Don't\n    // ask again\" box.) We can ask again at the next relevant opportunity.\n  }\n}\n```\n\n#### 2. Scan\n\nLater in your application, simply call the [`scan` method](#scan) to enable scanning, and the [`show` method](#show) to make the camera preview visible.\n\nIf you haven't previously `prepare`d the scanner, the `scan` method will first internally `prepare` the scanner, then begin scanning. If you'd rather ask for camera permissions at the time scanning is attempted, this is the simplest option.\n\n```js\n// Start a scan. Scanning will continue until something is detected or\n// `QRScanner.cancelScan()` is called.\nQRScanner.scan(displayContents);\n\nfunction displayContents(err, text){\n  if(err){\n    // an error occurred, or the scan was canceled (error code `6`)\n  } else {\n    // The scan completed, display the contents of the QR code:\n    alert(text);\n  }\n}\n\n// Make the webview transparent so the video preview is visible behind it.\nQRScanner.show();\n// Be sure to make any opaque HTML elements transparent here to avoid\n// covering the video.\n```\n\nPlease see the [full API docs](#api) for details about each method, [error handling](#error-handling), and [platform specific details](#platform-specific-details).\n\n### Electron or NW.js usage without `cordova-browser`\n\nIf your app uses the Cordova Browser platform, simply adding the plugin to the Cordova project will make the `window.QRScanner` global object available once the `deviceready` event propagates. For apps not using `cordova-browser`, this plugin is also available as a simple javascript library.\n\nThe library uses the [Universal Module Definition API](https://github.com/umdjs/umd), so it can simply be required by most build systems.\n\n```js\nvar QRScanner = require('QRScanner');\n```\n\nOr alternatively, the library can be included in a page as-is, and the QRScanner will be made available at `window.QRScanner`.\n\n```html\n<script src=\"path/to/qrscanner/library.bundle.min.js\"></script>\n```\n\nOn the browser platform, performance is improved by running the processing-intensive scanning operation in a [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). For more information about the browser platform, see [Browser Platform Specific Details](#browser).\n\n## API\nWith the exception of `QRScanner.scan(callback)` and `QRScanner.getStatus(callback)`, all callbacks are optional.\n\n### Prepare\n\n```js\nvar done = function(err, status){\n  if(err){\n    console.error(err._message);\n  } else {\n    console.log('QRScanner is initialized. Status:');\n    console.log(status);\n  }\n};\n\nQRScanner.prepare(done);\n```\n\nRequest permission to access the camera (if not already granted), prepare the video preview, and configure everything needed by QRScanner. On platforms where possible, this also starts the video preview, saving valuable milliseconds and making it seem like the camera is starting instantly when `QRScanner.show()` is called. (These changes will only be visible to the user if `QRScanner.show()` has already made the webview transparent.)\n\n### Scan\n\n```js\nvar callback = function(err, contents){\n  if(err){\n    console.error(err._message);\n  }\n  alert('The QR Code contains: ' + contents);\n};\n\nQRScanner.scan(callback);\n```\n\nSets QRScanner to \"watch\" for valid QR codes. Once a valid code is detected, it's contents are passed to the callback, and scanning is toggled off. If `QRScanner.prepare()` has not been called, this method performs that setup as well. On platforms other than iOS and Android, the video preview must be visible for scanning to function.\n\n```js\nQRScanner.cancelScan(function(status){\n  console.log(status);\n});\n```\n\nCancels the current scan. If `QRScanner.prepare()` has not been called, this method performs that setup as well. When a scan is canceled, the callback of the canceled `scan()` receives the `SCAN_CANCELED` error.\n\n### Show\n\n```js\nQRScanner.show(function(status){\n  console.log(status);\n});\n```\n\nConfigures the native webview to have a transparent background, then sets the background of the `<body>` and `<html>` DOM elements to transparent, allowing the webview to re-render with the transparent background.\n\nTo see the video preview, your application background must be transparent in the areas through which the preview should show.\n\nThe [`show`](#show) and [`hide`](#hide) methods are the fastest way to toggle visibility of the scanner. When building the scanner into tab systems and similar layouts, this makes the application feel much more responsive. It's possible to reduce power consumption (to extend battery life on mobile platforms) by intellegently [`destroy`](#destroy)ing the scanner when it's unlikely to be used for a long period of time. Before scanning is used again, you can re-[`prepare`](#prepare) it, making the interface seem much more responsive when `show` is called.\n\n### Hide\n\n```js\nQRScanner.hide(function(status){\n  console.log(status);\n});\n```\n\nConfigures the native webview to be opaque with a white background, covering the video preview.\n\n### Lighting\n\n```js\nQRScanner.enableLight(function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nEnable the device's light (for scanning in low-light environments). If `QRScanner.prepare()` has not been called, this method performs that setup as well.\n\n```js\nQRScanner.disableLight(function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nDisable the device's light. If `QRScanner.prepare()` has not been called, this method performs that setup as well.\n\n### Camera Reversal\nQRScanner defaults to the back camera, but can be reversed. If `QRScanner.prepare()` has not been called, these methods perform that setup as well.\n\n```js\nQRScanner.useFrontCamera(function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nSwitch video capture to the device's front camera.\n\n```js\nQRScanner.useBackCamera(function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nCamera selection can also be done directly with the `useCamera` method.\n\n```js\nvar back = 0; // default camera on plugin initialization\nvar front = 1;\nQRScanner.useCamera(front, function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nSwitch video capture to the device's back camera.\n\n### Video Preview Control\n\n```js\nQRScanner.pausePreview(function(status){\n  console.log(status);\n})\n```\n\nPauses the video preview on the current frame (as if a snapshot was taken) and pauses scanning (if a scan is in progress).\n\n```js\nQRScanner.resumePreview(function(status){\n  console.log(status);\n})\n```\n\nResumes the video preview and continues to scan (if a scan was in progress before `pausePreview()`).\n\n### Open App Settings\n\n```js\nQRScanner.getStatus(function(status){\n  if(!status.authorized && status.canOpenSettings){\n    if(confirm(\"Would you like to enable QR code scanning? You can allow camera access in your settings.\")){\n      QRScanner.openSettings();\n    }\n  }\n});\n```\n\nOpen the app-specific permission settings in the user's device settings. Here the user can enable/disable camera (and other) access for your app.\n\nNote: iOS immediately kills all apps affected by permission changes in Settings. If the user changes a permission setting, your app will stop and only restart when they return.\n\n### Get QRScanner Status\n\n```js\nQRScanner.getStatus(function(status){\n  console.log(status);\n});\n```\n\n```js\n{\n  \"authorized\": Boolean\n  \"denied\": Boolean\n  \"restricted\": Boolean\n  \"prepared\": Boolean\n  \"scanning\": Boolean\n  \"previewing\": Boolean\n  \"showing\": Boolean\n  \"lightEnabled\": Boolean\n  \"canOpenSettings\": Boolean\n  \"canEnableLight\": Boolean\n  \"currentCamera\": Number\n}\n```\n\nRetrieve the status of QRScanner and provide it to the callback function.\n\n### Status Object Properties\n\nName                             | Description\n:------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n`authorized`                     | On iOS and Android 6.0+, camera access is granted at runtime by the user (by clicking \"Allow\" at the dialog). The `authorized` property is a boolean value which is true only when the user has allowed camera access to your app (`AVAuthorizationStatus.Authorized`). On platforms with permissions granted at install (Android pre-6.0, Windows Phone) this property is always true.\n`denied`                         | A boolean value which is true if the user permanently denied camera access to the app (`AVAuthorizationStatus.Denied`). Once denied, camera access can only be gained by requesting the user change their decision (consider offering a link to the setting via `openSettings()`).\n`restricted`                     | A boolean value which is true if the user is unable to grant permissions due to parental controls, organization security configuration profiles, or similar reasons.\n`prepared`                       | A boolean value which is true if QRScanner is prepared to capture video and render it to the view.\n`showing`                        | A boolean value which is true when the preview layer is visible (and on all platforms but `browser`, the native webview background is transparent).\n`scanning`                       | A boolean value which is true if QRScanner is actively scanning for a QR code.\n`previewing`                     | A boolean value which is true if QRScanner is displaying a live preview from the device's camera. Set to false when the preview is paused.\n`lightEnabled`                   | A boolean value which is true if the light is enabled.\n`canOpenSettings`                | A boolean value which is true only if the users' operating system is able to `QRScanner.openSettings()`.\n`canEnableLight`                 | A boolean value which is true only if the users' device can enable a light in the direction of the currentCamera.\n`canChangeCamera`                | A boolean value which is true only if the current device \"should\" have a front camera. The camera may still not be capturable, which would emit error code 3, 4, or 5 when the switch is attempted. (On the browser platform, this value is false until the `prepare` method is called.)\n`currentCamera`                  | A number representing the index of the currentCamera. `0` is the back camera, `1` is the front.\n\n\n### Destroy\n\n```js\nQRScanner.destroy(function(status){\n  console.log(status);\n});\n```\n\nRuns [`hide`](#hide), [`cancelScan`](#scan), stops video capture, removes the video preview, and deallocates as much as possible. Basically reverts the plugin to it's startup-state.\n\n## Error Handling\nMany QRScanner functions accept a callback with an `error` parameter. When QRScanner experiences errors, this parameter contains a QRScannerError object with properties `name` (_String_), `code` (_Number_), and `_message` (_String_). When handling errors, rely only on the `name` or `code` parameter, as the specific content of `_message` is not considered part of the plugin's stable API. Particularly if your app is localized, it's also a good idea to provide your own `message` when informing the user of errors.\n\n```js\nQRScanner.scan(function(err, contents){\n  if(err){\n    if(err.name === 'SCAN_CANCELED') {\n      console.error('The scan was canceled before a QR code was found.');\n    } else {\n      console.error(err._message);\n    }\n  }\n  console.log('Scan returned: ' + contents);\n});\n```\n\n### Possible Error Types\n\nCode | Name                        | Description\n---: | :-------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n   0 | `UNEXPECTED_ERROR`          | An unexpected error. Returned only by bugs in QRScanner.\n   1 | `CAMERA_ACCESS_DENIED`      | The user denied camera access.\n   2 | `CAMERA_ACCESS_RESTRICTED`  | Camera access is restricted (due to parental controls, organization security configuration profiles, or similar reasons).\n   3 | `BACK_CAMERA_UNAVAILABLE`   | The back camera is unavailable.\n   4 | `FRONT_CAMERA_UNAVAILABLE`  | The front camera is unavailable.\n   5 | `CAMERA_UNAVAILABLE`        | The camera is unavailable because it doesn't exist or is otherwise unable to be configured. (Also returned if QRScanner cannot return one of the more specific `BACK_CAMERA_UNAVAILABLE` or `FRONT_CAMERA_UNAVAILABLE` errors.)\n   6 | `SCAN_CANCELED`             | Scan was canceled by the `cancelScan()` method. (Returned exclusively to the `QRScanner.scan()` method.)\n   7 | `LIGHT_UNAVAILABLE`         | The device light is unavailable because it doesn't exist or is otherwise unable to be configured.\n   8 | `OPEN_SETTINGS_UNAVAILABLE` | The device is unable to open settings.\n\n## Platform Specific Details\n\nThis plugin attempts to properly abstract all the necessary functions of a well-designed, native QR code scanner. Here are some platform specific details it may be helpful to know.\n\n## iOS\n\nThis plugin is always tested with the latest version of Xcode. Please be sure you have updated Xcode before installing.\n\nIf you run into issues in your own project, try the test project in this repo to confirm your environment is set up properly: `npm run gen-tests && npm run test:ios`.\n\n## Android\n\nOn Android, calling `pausePreview()` will also disable the light. However, if `disableLight()` is not called, the light will be reenabled when `resumePreview()` is called.\n\nIf you run into issues in your own project, try the test project in this repo to confirm your environment is set up properly: `npm run gen-tests && npm run test:android`.\n\n### Permissions\n\nUnlike iOS, on Android >=6.0, permissions can be requested multiple times. If the user denies camera access, `status.denied` will remain `false` unless the user permanently denies by checking the `Never ask again` checkbox. Once `status.denied` is `true`, `openSettings()` is the only remaining option to grant camera permissions.\n\nBecause of API limitations, `status.restricted` will always be false on the Android platform. See [#15](https://github.com/bitpay/cordova-plugin-qrscanner/issues/15) for details. Pull requests welcome!\n\n## Windows\n\nBefore testing - ensure the Windows Phone SDK is installed. In order to deploy from the command line Windows Phone 8.0 SDK and Visual Studio 2012 update 2 (or later) must be installed. Visual Studio 2015 is recommended for debugging Windows desktop apps.\n\nThe Windows platform renders an impervious white layer behind its browser- the video preview is not behind the webView, but is actually an HTML element that is carefully managed. Hide and show change the style properties (visibility) of the preview.\n\n## Browser\n\nWhile the browser implementation matches the native mobile implementations very closely, the platform itself does not. Notably:\n\n- **multiple cameras** – most laptops/desktops do not have access to multiple cameras – so there is no concept of a \"front\" or \"back\" camera\n- **light** – we are not aware of any devices for the `browser` platform which have a \"light\" (aka. \"torch\") – should a device like this be produced, and if [this spec](http://w3c.github.io/mediacapture-image/#filllightmode) is [implemented by Chromium](https://bugs.chromium.org/p/chromium/issues/detail?id=485972), this plugin will attempt to support it.\n\nThe browser implementation of this plugin is designed to abstract these platform differences very thoroughly. It's recommended that you focus your development efforts on implementing this plugin well for one of the mobile platform, and the browser platform implementation will degrade gracefully from there.\n\n### Video Preview DOM Element\n\nUnlike the other platforms, it's not possible to spawn the `<video>` preview behind the `<html>` and `<body>` using only Javascript. Trying to mimick the effect by making the element a sibling to either the `<html>` or `<body>` elements also produces inconsistent results (ie: no rendering on Chromium). Instead, this plugin appends the `<video>` element as the final child of the `<body>` element, and applies styling to cover the entire background.\n\nAs a consequence, you should assume that your `<body>` element will be completely obscured from view as soon as the plugin is `prepare()`ed. When building your application, apply styling you might otherwise apply to the `<body>` element to a child \"container\" `<div>` or other element. To show the video preview, call the `show()` method and make this container transparent.\n\n### Privacy Lights\n\nMost devices now include a hardware-level \"privacy light\", which is enabled when the camera is being used. To prevent this light from being \"always on\" when the app is running, the browser platform disables/enables use of the camera with the `hide`, `show`, `pausePreview`, and `resumePreview` methods. If your implementation works well on a mobile platform, you'll find that this addition provides a great head start for a solid `browser` implementation.\n\nFor this same reason, scanning requires the video preview to be active, and the `pausePreview` method will also pause scanning on the browser platform. (Calling `resumePreview` will continue the scan.)\n\n### Camera Selection\n\nWhen the `prepare` method runs, the browser platform attempts to select the best camera as the \"back\" camera (the default camera). If a \"next-best\" camera is available, that camera will be selected as the \"front\" camera. Camera switching is intended to be \"togglable\", so this plugin has no plans to support access to more than 2 cameras.\n\nThe \"back\" camera is selected by the following criteria:\n1. [**facingMode**](http://w3c.github.io/mediacapture-main/#dfn-facingmode) – if a camera with a facingMode of `environment` exists, we use this one.\n2. **resolution** – If multiple `environment` cameras are available, the highest resolution camera is selected. If no back-facing cameras exist, we default to the highest resolution camera available.\n\nIf more cameras are available, the \"front\" camera is then chosen from the highest resolution camera remaining.\n\n### Light\n\nThe browser platform always returns the boolean `status.canEnableLight` as `false`, and the enableLight/disableLight methods throw the `LIGHT_UNAVAILABLE` error code.\n\n`status.canEnableLight` is camera specific, meaning it will return `false` if the camera in use does not have a flash.\n\n#### Using Status.authorized\n\nBoth Electron and NW.js automatically provide authorization to access the camera (without user confirmation) to bundled applications. This difference can't be detected via an API this plugin can implement, so the `authorized` property on any returned Status objects will be `false` on startup, even when it should be `true`. You should adjust your code to assume that these platforms are always authorized. (ie: Skip \"permission priming\" on these platforms.)\n\nOn the `browser` platform, the `authorized` field is set to `true` if at least one camera is available **and** the user has granted the application access to at least one camera. On Electron and NW.js, this field can reliably be used to determine if a camera is available to the device.\n\n### Adjusting Scan Speed vs. CPU/Power Usage (uncommon)\n\nOn the browser platform, it's possible to adjust the interval at which QR decode attempts occur – even while a scan is happening. This enables applications to intellegently adjust scanning speed in different application states. QRScanner will check for the presence of the global variable `window.QRScanner_SCAN_INTERVAL` before scheduling each next QR decode. If not set, the default of `130` (milliseconds) is used.\n\n## Typescript\nType definitions for cordova-plugin-qrscanner are [available in the DefinitelyTyped project](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/cordova-plugin-qrscanner/cordova-plugin-qrscanner.d.ts).\n\n## Contributing &amp; Testing\n\nTo contribute, first install the dependencies:\n\n```sh\nnpm install\n```\n\nThen setup the test project:\n\n```sh\nnpm run gen-tests\n```\n\nThis will create a new cordova project in the `cordova-plugin-test-projects` directory next to this repo, install `cordova-plugin-qrscanner`, and configure the [Cordova Plugin Test Framework](https://github.com/apache/cordova-plugin-test-framework). Once the platform tests are generated, the following commands are available:\n\n- `npm run test:android`\n- `npm run test:browser`\n- `npm run test:ios`\n- `npm run test:windows`\n\nBoth Automatic Tests (via Cordova Plugin Test Framework's built-in [Jasmine](https://github.com/jasmine/jasmine)) and Manual Tests are available. Automatic tests confirm the existence and expected structure of the javascript API, and manual tests should be used to confirm functionality on each platform.\n\nThe manual tests for the library are available without the cordova test project:\n\n- `npm run test:library`\n\nThe build for this repo currently only confirms javascript style and syntax with [jshint](https://github.com/jshint/jshint). Pull requests with additional automated test methods are welcome!\n","repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"users":{"shanewholloway":true,"django_wong":true,"method76":true,"tenbamboo":true,"gaurang_gupta":true,"kaerimichi":true,"chinawolf_wyp":true,"tvtamas":true,"kitbs":true,"hoodasaad":true,"desertcrystal":true,"shanquan":true,"faulfish":true},"bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"license":"MIT","versions":{"0.1.0":{"name":"cordova-plugin-qrscanner","version":"0.1.0","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/bitjson/cordova-plugin-qrscanner"},"keywords":["cordova","qr","scanner","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitjson/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitjson/cordova-plugin-qrscanner","dependencies":{"xcode":"^0.8.2"},"gitHead":"125c279f63dfd966c9f2f0a22aded18edd72b8ca","_id":"cordova-plugin-qrscanner@0.1.0","_shasum":"df972baba4a805ae06285b45e563ac5b9ca650c5","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"df972baba4a805ae06285b45e563ac5b9ca650c5","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-0.1.0.tgz","integrity":"sha512-n5H0O1faP3GWnuOVVP2FPSTMU0aGO+nZY1S7jXYEEFUHKRAJxPWAWVYx7msgo9bcvN3gu8b2wdt3+MQRhJgowA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYxcTO063167qblk0UZ3W9ulDclxkU3aqSJDTOZVaksAIhANT+wdpgwHt6wewflBkEU23ua/VAA5VftOD3hK6ylyvk"}]},"directories":{}},"1.0.0":{"name":"cordova-plugin-qrscanner","version":"1.0.0","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"test":"npm install; tests/setupTests.sh"},"repository":{"type":"git","url":"https://github.com/bitpay/cordova-plugin-qrscanner"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"xcode":"^0.8.2"},"gitHead":"bda93db74dc96af66b0d920f0702c352918b38af","_id":"cordova-plugin-qrscanner@1.0.0","_shasum":"df4b821c79833d67d062d878f22c910046309268","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.1","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"df4b821c79833d67d062d878f22c910046309268","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-1.0.0.tgz","integrity":"sha512-ZDwooNn/hnbAShI74jVTv7LT/7evk7sUbqwslO5DiQT4WNoS6vVNX1WZNrg9BdRDh3upS+yKwoXi8BnAadaYpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEhmMJ2GC1izjns1lYCBWy9bOxNl2yJjHqfD3VIGisEgIgMbHYBp3Ao7JHQG73zxC94Pmp1838iCgCOAqzr7xBuaU="}]},"directories":{}},"1.0.1":{"name":"cordova-plugin-qrscanner","version":"1.0.1","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"test":"npm install; tests/setupTests.sh"},"repository":{"type":"git","url":"https://github.com/bitpay/cordova-plugin-qrscanner"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"xcode":"^0.8.2"},"_id":"cordova-plugin-qrscanner@1.0.1","_shasum":"9c01a52772b86e6ad7f4a8ee21232db9f3703dcb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"9c01a52772b86e6ad7f4a8ee21232db9f3703dcb","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-1.0.1.tgz","integrity":"sha512-1U2ukNa7Ck85G6nQ0+4xxNnoNRHPWnB4HANsxGunoqLDyAx9YQatahV7/pKO6Ik7kmww2KneLUvOmCb0/9BncQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+F6QnfrT35VY8DYePrsRcz39r+LhCy2ckxfKJ4PisfwIgXKBn5qAplliOUAjhBiimEyt0PyYkDVj9ovzzNAQRWNI="}]},"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-1.0.1.tgz_1456189266976_0.2935322269331664"},"directories":{}},"1.1.0":{"name":"cordova-plugin-qrscanner","version":"1.1.0","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"test:ios":"npm install; tests/setupTestsiOS.sh"},"repository":{"type":"git","url":"https://github.com/bitpay/cordova-plugin-qrscanner"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"xcode":"^0.8.4"},"devDependencies":{"cz-conventional-changelog":"^1.1.5","ghooks":"^1.2.0","validate-commit-msg":"^2.5.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"5aa66fe600f76cb59794cd65c001e62449644e8f","_id":"cordova-plugin-qrscanner@1.1.0","_shasum":"f93a27e14a4ec7ee3fb764ce65bbd07c365020f9","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"f93a27e14a4ec7ee3fb764ce65bbd07c365020f9","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-1.1.0.tgz","integrity":"sha512-5VxPz0lVpWqd6AxaF7fzWnBKhwcUikGxC8hYK2OxnZWZZIBWGN7HwXw0ZutcqUI0ejZ6nbRAXBNZOZd7cyaEjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvGJhbZqv3nuQhZ5RXcW6PFnNiXADstCmf6liODg5jMgIhAKXSbtw1jpnzLvOFKvMWHJ/xo4DboRhC9Fsz7vu49GCK"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-1.1.0.tgz_1459869817429_0.0857947375625372"},"directories":{}},"2.0.0":{"name":"cordova-plugin-qrscanner","version":"2.0.0","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"test":"npm run jshint","jshint":"jshint www && jshint src && jshint tests","update":"npm install && npm run update:qrcode-reader && npm run update:adapter.js","update:qrcode-reader":"ncp node_modules/qrcode-reader/dist/index.js src/browser/qrcode-reader.js","update:adapter.js":"ncp node_modules/webrtc-adapter/out/adapter_no_edge.js src/browser/adapter.js","gen-tests":"npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run timestamp-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","timestamp-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && replace '{{TIMESTAMP}}' `timestamp`","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s"},"repository":{"type":"git","url":"https://github.com/bitpay/cordova-plugin-qrscanner"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.1.1","webrtc-adapter":"^1.1.0","xcode":"^0.8.4"},"devDependencies":{"cz-conventional-changelog":"^1.1.5","ghooks":"^1.2.0","jshint":"^2.9.1","mkdirp":"^0.5.1","ncp":"^2.0.0","replace":"^0.3.0","timestamp-cli":"0.0.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.5.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"8663b66931dc15e4ada54d9e6b5438be0890029a","_id":"cordova-plugin-qrscanner@2.0.0","_shasum":"fc9e44816ece514a28afeb2036c114da393401b3","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"fc9e44816ece514a28afeb2036c114da393401b3","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.0.0.tgz","integrity":"sha512-KYoz5N5R0zEuVLjEXxlwELycnSd5CdvInA9dczf3BjdZxEnugGfP8u1DNdJak25uHSzXD8VqoQ0aJ6f2BYTzZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbBzg1/FYSoNHLT3qSTDXbdUXQlkFgP1LT52gIczEMRwIhAKPvqpIQV1uJnIhFO8bTxJxRJ2Y0OlFAqexaQ5xCOZAu"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.0.0.tgz_1467233320396_0.5212076504249126"},"directories":{}},"2.0.1":{"name":"cordova-plugin-qrscanner","version":"2.0.1","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"test":"npm run jshint","jshint":"jshint www && jshint src && jshint tests","update":"npm update && npm run update:qrcode-reader && npm run update:adapter.js","update:qrcode-reader":"ncp node_modules/qrcode-reader/dist/index.js src/browser/qrcode-reader.js","update:adapter.js":"ncp node_modules/webrtc-adapter/out/adapter_no_edge.js src/browser/adapter.js","gen-tests":"npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s"},"repository":{"type":"git","url":"https://github.com/bitpay/cordova-plugin-qrscanner"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.1","webrtc-adapter":"^1.4.0","xcode":"^0.8.8"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","ghooks":"^1.3.2","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"5bc6169995825525aea853991dfc8840ef8f64f5","_id":"cordova-plugin-qrscanner@2.0.1","_shasum":"f2fec2b5d4d4b048eae8f5f1574d358b33191560","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"f2fec2b5d4d4b048eae8f5f1574d358b33191560","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.0.1.tgz","integrity":"sha512-EfE8V2BOD23FlwqPn1fQpeMcVCkYVhpYusJyUU7QH9cB461s02z6NZZKt8AKuMysP+ndC3hVDysvgYjA0+KxBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICfNAVrRj7dtoWMTDrS3H3UcmDgUD80M7CsqNJjPAVjfAiEA/BhtcWltDVnofTxpUWHwBVyO27ZhkNe/m6jVywJuVxs="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.0.1.tgz_1470250822085_0.16164271417073905"},"directories":{}},"2.1.0":{"name":"cordova-plugin-qrscanner","version":"2.1.0","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"test":"npm run jshint","jshint":"jshint www && jshint src && jshint tests","update":"npm update && npm run update:qrcode-reader && npm run update:adapter.js","update:qrcode-reader":"ncp node_modules/qrcode-reader/dist/index.js src/browser/qrcode-reader.js","update:adapter.js":"ncp node_modules/webrtc-adapter/out/adapter_no_edge.js src/browser/adapter.js","gen-tests":"npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.1","webrtc-adapter":"^2.0.2","xcode":"^0.8.8"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","ghooks":"^1.3.2","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"1c6ce13c4697392c6a69cb15e57dbfe2da23afa2","_id":"cordova-plugin-qrscanner@2.1.0","_shasum":"64da5d66bfc89ef4c0fdf2f91778f969657639b3","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"64da5d66bfc89ef4c0fdf2f91778f969657639b3","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.1.0.tgz","integrity":"sha512-lpCykHNN9xI2PzkN9B4214ve27lzU8YCZqAKCcjxxqMdpRMffklRzKFxx/KjmpKZhlJPQSHOJVtQFgwlmf4j1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCumIUlPWTnwKtHbLG++i1ERx6MsK7MXXGrHjJZzn3gYwIgZTaWYfmbWjpANyaOD8ig4stSa5b6YNhG+UaHh4EN2e0="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.1.0.tgz_1470416214439_0.8745048833079636"},"directories":{}},"2.1.1":{"name":"cordova-plugin-qrscanner","version":"2.1.1","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"test":"npm run jshint","jshint":"jshint www && jshint src && jshint tests","update":"npm update && npm run update:qrcode-reader && npm run update:adapter.js","update:qrcode-reader":"ncp node_modules/qrcode-reader/dist/index.js src/browser/qrcode-reader.js","update:adapter.js":"ncp node_modules/webrtc-adapter/out/adapter_no_edge.js src/browser/adapter.js","gen-tests":"npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.1","webrtc-adapter":"^2.0.2","xcode":"^0.8.8"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","ghooks":"^1.3.2","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"cf69cd1ffd4562578ec393704964fc794c1801f8","_id":"cordova-plugin-qrscanner@2.1.1","_shasum":"78b39ad80d4b30b5ec56d1053ca5f5634e83de03","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"78b39ad80d4b30b5ec56d1053ca5f5634e83de03","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.1.1.tgz","integrity":"sha512-Kkrmj636uWQkqLh6962sQxCacNPLzzvF1tQ5m3pocYHETc5AR2k3mOixgUN5QIyxOXeCJK4FPbivbqIr5sZuVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCELhBySlWew7On2N22N3j5rPdH0zmMSSJqzUiwAMP5YgIgGjMx3q9W29e9qo4EBgsRhiCBZCa1NJKLY+oJoHt2pGg="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.1.1.tgz_1471045926920_0.3348093570675701"},"directories":{}},"2.3.0":{"name":"cordova-plugin-qrscanner","version":"2.3.0","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","install":"npm run build","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","prep-release":"git clean -dfx && npm install && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.2","webrtc-adapter":"^2.0.3","xcode":"^0.8.9"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","express":"^4.14.0","ghooks":"^1.3.2","gulp":"^3.9.1","gulp-insert":"^0.5.0","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.1.0-beta.22"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"f509edf4f4c88b0e5a653061c698abdecca8a529","_id":"cordova-plugin-qrscanner@2.3.0","_shasum":"2a1c57497862917cb73aee2937c5fb1d363401c1","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"2a1c57497862917cb73aee2937c5fb1d363401c1","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.3.0.tgz","integrity":"sha512-7XRN1OpvpZLx4wOktTh5exLxZiqBDE6k2GHd0Ftv8wkbQv5V71Aueefl6YfWO2kcT//+FB66h49cY95MjAtthg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDz2AVkgebJQCsVHdPIImPqAVSh90YvMzya8L4AT/zJwwIgblfkPI1O9JEsiqDN18MZaWHP5nzd6rBqMYrFkCn/EVQ="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.3.0.tgz_1475023270063_0.2606756463646889"},"directories":{}},"2.3.1":{"name":"cordova-plugin-qrscanner","version":"2.3.1","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","prep-release":"git clean -dfx && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.2","webrtc-adapter":"^2.0.3","xcode":"^0.8.9"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","express":"^4.14.0","ghooks":"^1.3.2","gulp":"^3.9.1","gulp-insert":"^0.5.0","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.1.0-beta.22"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"f509edf4f4c88b0e5a653061c698abdecca8a529","_id":"cordova-plugin-qrscanner@2.3.1","_shasum":"f1d59856cc9eb3f4ca3482623933c18f4530b2bf","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"f1d59856cc9eb3f4ca3482623933c18f4530b2bf","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.3.1.tgz","integrity":"sha512-IDOiIRIJMRGnOjzcXG1ZGMNvogTbSYj5L1iYAWkdeCUEgfVY/I+NpapOYtp+CBUQX2oINw0w9jhWjWyThEp/8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7U1GFItAemWRZoTNhniS2WyfPXYYBIvD0wa+PGFa80AIhAI1p4pQXPygdEdC9C2DKF98fDgShEEwGtpf3+grUF1yn"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.3.1.tgz_1475023704226_0.6094256790820509"},"directories":{}},"2.3.2":{"name":"cordova-plugin-qrscanner","version":"2.3.2","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.2","webrtc-adapter":"^2.0.3","xcode":"^0.8.9"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","express":"^4.14.0","ghooks":"^1.3.2","gulp":"^3.9.1","gulp-insert":"^0.5.0","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.1.0-beta.22"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"9110981eaf72423a4290e276afed02b33e64f93d","_id":"cordova-plugin-qrscanner@2.3.2","_shasum":"e2720a4f1c1c48a0cf8373edc751ae4988619879","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"e2720a4f1c1c48a0cf8373edc751ae4988619879","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.3.2.tgz","integrity":"sha512-CajuWIFhcCAb/99ApeoS10E/6j+Avhfv8TXggsSp47wZOP26/3+CeNDE0wG6cHDWIPoj9hbugD1G25ZCgkB+0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB/kJyiNMo/UQpjTnArEF8zLrLrKvnAlaPo/1FwWPSaQIhAPNMIXC4eRnFmJnn2cN3CYOcbSxOdKMR5ztFllhsMjXD"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.3.2.tgz_1475093921939_0.8450026009231806"},"directories":{}},"2.3.3":{"name":"cordova-plugin-qrscanner","version":"2.3.3","description":"Cordova QR Scanner Plugin","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.2","webrtc-adapter":"^2.0.3","xcode":"^0.8.9"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","express":"^4.14.0","ghooks":"^1.3.2","gulp":"^3.9.1","gulp-insert":"^0.5.0","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.1.0-beta.22"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"20d8009a267b272e450b631cffd55fcd45f11bc5","_id":"cordova-plugin-qrscanner@2.3.3","_shasum":"b6bc4a96e95990194c7f1ba160f2ef66dbae7c2d","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"b6bc4a96e95990194c7f1ba160f2ef66dbae7c2d","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.3.3.tgz","integrity":"sha512-ITUEWGoKvE0Z4s3f9RlxptNFBVR1pulm7P0VZ7z10+ilYcMI6F59Dr7aqlPFWO0me287mB663Zoo982ZIUF/Tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+gpk6FlCuk40BdBqaqzHV6a360dYxPcWH9pkV9xpWHAiEAlDol1gVr+pMfZtXeYfjsYBlc518AlG8SmurRE1eeip0="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.3.3.tgz_1475117397851_0.6440631593577564"},"directories":{}},"2.3.4":{"name":"cordova-plugin-qrscanner","version":"2.3.4","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.2","webrtc-adapter":"^2.0.3","xcode":"^0.8.9"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","express":"^4.14.0","ghooks":"^1.3.2","gulp":"^3.9.1","gulp-insert":"^0.5.0","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.1.0-beta.22"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"29e5bbfcd6242e0cc1f0860e6e43715992ab2388","_id":"cordova-plugin-qrscanner@2.3.4","_shasum":"cde812c2f9e3af6b619f5174636ebabe93148bca","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"cde812c2f9e3af6b619f5174636ebabe93148bca","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.3.4.tgz","integrity":"sha512-Lo5vgAh08Uu1zo4+we9pdQfhVQFENv9O2bQM1jO94rWRaqnkBZU3FUoAiPA3l4UrM4OxT7hDZJpdXz7NoxYD6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7gaxcZh2qDHfRgK6qWFMC/h8zwioB0ex4VmTyECvulAiB9+3cmD5N5NSmrR72n+PAgWihOMOmLI8Go+FDvkBhZwQ=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.3.4.tgz_1475357669115_0.8202276094816625"},"directories":{}},"2.4.0":{"name":"cordova-plugin-qrscanner","version":"2.4.0","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.2","webrtc-adapter":"^2.0.3","xcode":"^0.8.9"},"devDependencies":{"cz-conventional-changelog":"^1.1.6","express":"^4.14.0","ghooks":"^1.3.2","gulp":"^3.9.1","gulp-insert":"^0.5.0","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.1.0-beta.22"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"ghooks":{"commit-msg":"validate-commit-msg"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"b61f8b8440721d66a3dc335bec998e319edf4f82","_id":"cordova-plugin-qrscanner@2.4.0","_shasum":"fffb36e477556a26b0668ac2dbe168ec279bed2f","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"fffb36e477556a26b0668ac2dbe168ec279bed2f","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.4.0.tgz","integrity":"sha512-WxyjClsTznXSBlcETT9Nnrgp2HO30uWymmFnOn2Va8BHM6DaaG7MLPXLI7EHz/Y35CcDjUDYv1njz2gVGKFqEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxfp2u6qrQiALFHngo6w8oZ8WiInCTsMElzebYALBJ2AiEAt6Z/Bjrfys5PAEWTPqLsBvogJbGltmtpzXk66Lk26tE="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.4.0.tgz_1475714537680_0.28837371757254004"},"directories":{}},"2.4.1":{"name":"cordova-plugin-qrscanner","version":"2.4.1","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","commitmsg":"validate-commit-msg","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.2","webrtc-adapter":"^3.1.4"},"devDependencies":{"conventional-changelog-cli":"^1.2.0","cz-conventional-changelog":"^1.1.6","express":"^4.14.0","gulp":"^3.9.1","gulp-insert":"^0.5.0","husky":"^0.13.1","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.1.0-beta.22"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"b01a2552bf3fd3c00a0371d0ae1fb14bfbdefbab","_id":"cordova-plugin-qrscanner@2.4.1","_shasum":"464bc7480144f38ecb6f4de36265da9d6ada3f66","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"464bc7480144f38ecb6f4de36265da9d6ada3f66","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.4.1.tgz","integrity":"sha512-Gt+238uCM5ufO6DtYxVIcT1+oa11kAHdJp1traHxo/VBXdKJXUt8defqrBEoYgOwWthQt/eHZYs/2T46OmLy/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKubup/fQKivCN74EuEVPrUNPHNcBsn9gwxiTCdmJB9gIgAblnkfhmDjo6OMRWUZfVEU1d7hdASrgP0K/DloY6lLs="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.4.1.tgz_1487107012298_0.9816924252081662"},"directories":{}},"2.5.0":{"name":"cordova-plugin-qrscanner","version":"2.5.0","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:windows":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:windows","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","commitmsg":"validate-commit-msg","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","dependencies":{"qrcode-reader":"^0.2.2","webrtc-adapter":"^3.1.4"},"devDependencies":{"conventional-changelog-cli":"^1.2.0","cz-conventional-changelog":"^1.1.6","express":"^4.14.0","gulp":"^3.9.1","gulp-insert":"^0.5.0","husky":"^0.13.1","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.1.0-beta.22"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"f4f7a3302f1a9782f82d361428b49849e7d0cb37","_id":"cordova-plugin-qrscanner@2.5.0","_shasum":"6d6ba13d0bb49e370daa4958d77c8aa76d8ca356","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"dist":{"shasum":"6d6ba13d0bb49e370daa4958d77c8aa76d8ca356","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.5.0.tgz","integrity":"sha512-xQLetD04LO8KjZ/QjdpOYhYDiUlAMtuai5EfnLqfFrVfzmI3u1EYN4ZyehhNKvsILEKNzgsnfxOAsDVQPu51iQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+NxnFEK/IJivFuxvd65LSfPMoWHuXGl12bGUQY+szgwIhAP3SeEgZfDcBqFZkjkDY3R3LYOykcza31v7cKTz2Hk12"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cordova-plugin-qrscanner-2.5.0.tgz_1487184722763_0.02417743788100779"},"directories":{}},"2.6.0":{"name":"cordova-plugin-qrscanner","version":"2.6.0","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:windows":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:windows","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","commitmsg":"validate-commit-msg","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","main":"dist/cordova-plugin-qrscanner-lib.min.js","dependencies":{"qrcode-reader":"^1.0.4","webrtc-adapter":"^3.1.4"},"devDependencies":{"conventional-changelog-cli":"^1.2.0","cz-conventional-changelog":"^2.0.0","express":"^4.14.0","gulp":"^3.9.1","gulp-insert":"^0.5.0","husky":"^0.13.1","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.7.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"d54dc34b8c3e62c74ee6c3f4f24210d1bd92beb2","_id":"cordova-plugin-qrscanner@2.6.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"dev","email":"jason@dreyzehner.com"},"dist":{"integrity":"sha512-bgy+cG0HdpuSW/JxHDFQYaO46Ma8nYTjwduhhWhMmuYeljozqQ4RJcwhJQaxHnjuDi3XDz+rHkszOEOhlSG23w==","shasum":"e981be29d024cb37c11e28bbee87ba2544a29e2a","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.6.0.tgz","fileCount":51,"unpackedSize":3989892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/c0oCRA9TVsSAnZWagAAjlwP/ijB2lz3KSDIYsMadG1d\nbJ3EuS33BY3lHACl3vatZVWYw8rspScnYLNtodNCcy+wFbeCP7IiOv8SrACX\nuT6rlnZA4yn71pE0rX17A/AAnY0P7RAmrsfHuLJD8SaBO8lubANaYu7r0itK\nkAAowoSQZDMqCQ1hZVgOoH2+UEZF7MffDTvJmqthCXgxJBvv+P/AsPjAQbAy\nKUSqlbhZ4/IOupYS82e3IUQQauwR4NTQCmx1RVz7CiNYTwx54dyK1hsLaTkg\nbWcrfXAhjm+XApY3Nw+6eAFX0N8rHRNMjHHCh/kDU3+27d3WYTcVb//aK0AP\nPcVHg2/6Arosehoh3xR+AdhMBXQAlQET0XMoEklC3A9lWSeuUE4PkYM2MKn7\nClkEN845cU8uA0i+epcODPvEf55zhHD/Y57wPJ7Po8s/gOj1qnZROnOX89KM\nIMu3Xkbz82ATM5chtgetxbz2tRfZX7GLO5Fb9Z0pN7y/3K1xLEtwEFB7EShB\nkSb7Z6nykCmCAAT12q6ZwP7GupB+o4Lra3AnRsKukR2Fhjgxl5JdEOWKc3IX\neoTd+2/bDSYVs9vjDY1LTfZBLS+mDO5ATmvJkXW4E1HUguOWAQHmcuvN3io2\n9HVMDTFUKc2cs7bzJBj96USk2gnmXO22TF3990Cj2I13BBY5+oQvaC6W1BN5\nHJS+\r\n=eOC2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgUXGCm93lZjLXXoTwl+/q5O7JujWbUl8HA7zQVZ61AAIgRaEiy6kmVVL5JAAjfr4pRrA8lSTGVxy1rUQCKcIPOto="}]},"maintainers":[{"name":"dev","email":"jason@dreyzehner.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-qrscanner_2.6.0_1526582566581_0.9492114405335059"},"_hasShrinkwrap":false},"2.6.1":{"name":"cordova-plugin-qrscanner","version":"2.6.1","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:windows":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:windows","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","commitmsg":"validate-commit-msg","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","main":"dist/cordova-plugin-qrscanner-lib.min.js","dependencies":{"qrcode-reader":"^1.0.4","webrtc-adapter":"^3.1.4"},"devDependencies":{"conventional-changelog-cli":"^1.2.0","cz-conventional-changelog":"^2.0.0","express":"^4.14.0","gulp":"^3.9.1","gulp-insert":"^0.5.0","husky":"^0.13.1","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.7.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"4e52b0a3199c31ffad70f215c46aeeb14988e7d8","_id":"cordova-plugin-qrscanner@2.6.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dev","email":"ematiu@gmail.com"},"dist":{"integrity":"sha512-48dag+COKkVDwRtNeL2CXZ+BB4RBfpCRi+v/7uT77+DfboyycyPL90tHEPCbox+JScWtobaRtdtzQfLSqwIUUQ==","shasum":"343edac37ce263f0c902feac8f3de162ac17a48f","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.6.1.tgz","fileCount":51,"unpackedSize":3990220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnJceCRA9TVsSAnZWagAA+KgP/iue5s7eKb0g9HG8pLf8\nKMKQn6QdUtr+s6RDYCW/FuHuPdGY00xV9XpHQfPZwd1CE1V9t063JQwEFHVA\nb3SCInMfneBo0PNM5GnagDnQYW7X74n1LZWLMseayUdqwJgifNlFTwKkUzvv\njg5LS3pEup8k279zXmX9HmC0voH03gv6toCx1LeHv2kC4h0xugcs0GoN7qGR\ndh863CFyYMwWKeU9pLB62T3M31V5lPuKxIG8DhISCga5iks6BffbwtxNNJdG\n7VIj60nAiejuq+OdG8m26bNnJLQ6H2BaG44xVTdxUnt1U1cIO0926ZDaYLVS\nnoXvG9Vep++0XxqVeKV8Jab8Bphdgw7u995bzyCpL7v3Ou8pj/Db/a4s0Db6\n6KSnYi6cxpW/MYa5n+d5AxJGXMbXYYLauwpNtjHQuB+2inRqkHgJS9YgY8Wl\nbA7jN64vTYWH4DfsQECz+bKrZniI1rWHd2vouiaXnM4Jd5p/+OrNLabOqJra\nMSJUpN0RSIJ0KwSFb8PIvMVG0086GTRddlaBhe2XpbSJ82oWyyT1SE4ObOEt\n2OkfWkX70IjGi19zdX4u/l4TthuWcYjInQR5Ign46AM0xO/mogwChWKz1rzG\nhNYJDSpdm/qYAxZZW7CNVvujpFpzhlRRpJ4IGo8mjlyMLBYBXXoAwTwQ7fPO\nEQIY\r\n=Vxz9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGI/zdWYSLlosr9p3XYuJNxG/63E1nQRsaQHqFXu6N00AiAU4Wqbzctx4BzG+VllQ8tRaDQm3fleRYgzK1DJFtA5Lw=="}]},"maintainers":[{"email":"ematiu@gmail.com","name":"dev"},{"email":"stephen@pairhome.net","name":"dev"},{"email":"nitsujlangston@gmail.com","name":"dev"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-qrscanner_2.6.1_1553766173711_0.8553178753126063"},"_hasShrinkwrap":false},"2.6.2":{"name":"cordova-plugin-qrscanner","version":"2.6.2","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:windows":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:windows","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","commitmsg":"validate-commit-msg","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","main":"dist/cordova-plugin-qrscanner-lib.min.js","dependencies":{"qrcode-reader":"^1.0.4","webrtc-adapter":"^3.1.4"},"devDependencies":{"conventional-changelog-cli":"^1.2.0","cz-conventional-changelog":"^2.0.0","express":"^4.14.0","gulp":"^3.9.1","gulp-insert":"^0.5.0","husky":"^0.13.1","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.7.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"readme":"[![Build Status](https://travis-ci.org/bitpay/cordova-plugin-qrscanner.svg?branch=master)](https://travis-ci.org/bitpay/cordova-plugin-qrscanner) [![npm](https://img.shields.io/npm/v/cordova-plugin-qrscanner.svg)](https://www.npmjs.com/package/cordova-plugin-qrscanner) [![npm](https://img.shields.io/npm/dm/cordova-plugin-qrscanner.svg)](https://www.npmjs.com/package/cordova-plugin-qrscanner)\n[![Dependency Status](https://david-dm.org/bitpay/cordova-plugin-qrscanner.svg)](https://david-dm.org/bitpay/cordova-plugin-qrscanner)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n\n# cordova-plugin-qrscanner\nA fast, energy efficient, highly-configurable QR code scanner for Cordova apps – available for the iOS, Android, Windows, and browser platforms.\n\nQRScanner's native camera preview is rendered behind the Cordova app's webview, and QRScanner provides `show` and `hide` methods to toggle the transparency of the webview's background. This allows for a completely HTML/CSS/JS interface to be built inside the webview to control the scanner.\n\n## Examples\n\n<!-- Does your project use cordova-plugin-qrscanner? We'd love to share a screenshot of your scanning interface! Please send a pull request adding your screenshot to the list below. -->\n\n<table>\n<tr align=\"center\">\n<!-- Please be sure your screenshot is hosted by cloud.githubusercontent.com. (You can upload by adding the image to any GitHub issue. -->\n<td><img height=\"450\" src=\"https://cloud.githubusercontent.com/assets/904007/24809138/943a9628-1b8c-11e7-8659-828c8060a9b6.PNG\" alt=\"BitPay – Secure Bitcoin Wallet\"></td>\n<td><img height=\"450\" src=\"https://cloud.githubusercontent.com/assets/904007/24809499/b192a246-1b8d-11e7-9f3b-e85ae480fdd6.PNG\" alt=\"Copay Bitcoin Wallet Platform\"></td>\n<td><img height=\"450\" src=\"https://cloud.githubusercontent.com/assets/5379359/25655918/0909bac8-2ff7-11e7-8775-ebb11bb085d6.png\" alt=\"BitPocket Point Of Sale App\"></td>\n</tr>\n<tr align=\"center\">\n<!-- Please provide a title and, if possible, a link to your project. -->\n<td><a href=\"https://bitpay.com/wallet\">BitPay – Secure Bitcoin Wallet</a></td>\n<td><a href=\"https://github.com/bitpay/copay\">bitpay/copay</a></td>\n<td><a href=\"https://github.com/getbitpocket/bitpocket-mobile-app\">BitPocket - Bitcoin Point of Sale App</a></td>\n</tr>\n</table>\n\n## Get Started\n\n```bash\ncordova plugin add cordova-plugin-qrscanner\n```\n\nSimply adding this plugin to the Cordova project will make the `window.QRScanner` global object available once the `deviceready` event propagates.\n\n### Usage\n\nThere are two primary steps to integrating `cordova-plugin-qrscanner`.\n\n#### 1. Get Permission Early (Optional)\n\n**This step is optional** – if the best place for your app to ask for camera permissions is at the moment scanning begins, you can safely skip this step.\n\nIf there's a better place in your app's onboarding process to ask for permission to use the camera (\"permission priming\"), this plugin makes it possible to ask prior to scanning using the [`prepare` method](#prepare). The `prepare` method initializes all the infrastructure required for scanning to happen, including (if applicable) asking for camera permissions. This can also be done before attempting to show the video preview, making your app feel faster and more responsive.\n\n```js\n// For the best user experience, make sure the user is ready to give your app\n// camera access before you show the prompt. On iOS, you only get one chance.\n\nQRScanner.prepare(onDone); // show the prompt\n\nfunction onDone(err, status){\n  if (err) {\n   // here we can handle errors and clean up any loose ends.\n   console.error(err);\n  }\n  if (status.authorized) {\n    // W00t, you have camera access and the scanner is initialized.\n    // QRscanner.show() should feel very fast.\n  } else if (status.denied) {\n   // The video preview will remain black, and scanning is disabled. We can\n   // try to ask the user to change their mind, but we'll have to send them\n   // to their device settings with `QRScanner.openSettings()`.\n  } else {\n    // we didn't get permission, but we didn't get permanently denied. (On\n    // Android, a denial isn't permanent unless the user checks the \"Don't\n    // ask again\" box.) We can ask again at the next relevant opportunity.\n  }\n}\n```\n\n#### 2. Scan\n\nLater in your application, simply call the [`scan` method](#scan) to enable scanning, and the [`show` method](#show) to make the camera preview visible.\n\nIf you haven't previously `prepare`d the scanner, the `scan` method will first internally `prepare` the scanner, then begin scanning. If you'd rather ask for camera permissions at the time scanning is attempted, this is the simplest option.\n\n```js\n// Start a scan. Scanning will continue until something is detected or\n// `QRScanner.cancelScan()` is called.\nQRScanner.scan(displayContents);\n\nfunction displayContents(err, text){\n  if(err){\n    // an error occurred, or the scan was canceled (error code `6`)\n  } else {\n    // The scan completed, display the contents of the QR code:\n    alert(text);\n  }\n}\n\n// Make the webview transparent so the video preview is visible behind it.\nQRScanner.show();\n// Be sure to make any opaque HTML elements transparent here to avoid\n// covering the video.\n```\n\nPlease see the [full API docs](#api) for details about each method, [error handling](#error-handling), and [platform specific details](#platform-specific-details).\n\n### Electron or NW.js usage without `cordova-browser`\n\nIf your app uses the Cordova Browser platform, simply adding the plugin to the Cordova project will make the `window.QRScanner` global object available once the `deviceready` event propagates. For apps not using `cordova-browser`, this plugin is also available as a simple javascript library.\n\nThe library uses the [Universal Module Definition API](https://github.com/umdjs/umd), so it can simply be required by most build systems.\n\n```js\nvar QRScanner = require('QRScanner');\n```\n\nOr alternatively, the library can be included in a page as-is, and the QRScanner will be made available at `window.QRScanner`.\n\n```html\n<script src=\"path/to/qrscanner/library.bundle.min.js\"></script>\n```\n\nOn the browser platform, performance is improved by running the processing-intensive scanning operation in a [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). For more information about the browser platform, see [Browser Platform Specific Details](#browser).\n\n## API\nWith the exception of `QRScanner.scan(callback)` and `QRScanner.getStatus(callback)`, all callbacks are optional.\n\n### Prepare\n\n```js\nvar done = function(err, status){\n  if(err){\n    console.error(err._message);\n  } else {\n    console.log('QRScanner is initialized. Status:');\n    console.log(status);\n  }\n};\n\nQRScanner.prepare(done);\n```\n\nRequest permission to access the camera (if not already granted), prepare the video preview, and configure everything needed by QRScanner. On platforms where possible, this also starts the video preview, saving valuable milliseconds and making it seem like the camera is starting instantly when `QRScanner.show()` is called. (These changes will only be visible to the user if `QRScanner.show()` has already made the webview transparent.)\n\n### Scan\n\n```js\nvar callback = function(err, contents){\n  if(err){\n    console.error(err._message);\n  }\n  alert('The QR Code contains: ' + contents);\n};\n\nQRScanner.scan(callback);\n```\n\nSets QRScanner to \"watch\" for valid QR codes. Once a valid code is detected, it's contents are passed to the callback, and scanning is toggled off. If `QRScanner.prepare()` has not been called, this method performs that setup as well. On platforms other than iOS and Android, the video preview must be visible for scanning to function.\n\n```js\nQRScanner.cancelScan(function(status){\n  console.log(status);\n});\n```\n\nCancels the current scan. If `QRScanner.prepare()` has not been called, this method performs that setup as well. When a scan is canceled, the callback of the canceled `scan()` receives the `SCAN_CANCELED` error.\n\n### Show\n\n```js\nQRScanner.show(function(status){\n  console.log(status);\n});\n```\n\nConfigures the native webview to have a transparent background, then sets the background of the `<body>` and `<html>` DOM elements to transparent, allowing the webview to re-render with the transparent background.\n\nTo see the video preview, your application background must be transparent in the areas through which the preview should show.\n\nThe [`show`](#show) and [`hide`](#hide) methods are the fastest way to toggle visibility of the scanner. When building the scanner into tab systems and similar layouts, this makes the application feel much more responsive. It's possible to reduce power consumption (to extend battery life on mobile platforms) by intellegently [`destroy`](#destroy)ing the scanner when it's unlikely to be used for a long period of time. Before scanning is used again, you can re-[`prepare`](#prepare) it, making the interface seem much more responsive when `show` is called.\n\n### Hide\n\n```js\nQRScanner.hide(function(status){\n  console.log(status);\n});\n```\n\nConfigures the native webview to be opaque with a white background, covering the video preview.\n\n### Lighting\n\n```js\nQRScanner.enableLight(function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nEnable the device's light (for scanning in low-light environments). If `QRScanner.prepare()` has not been called, this method performs that setup as well.\n\n```js\nQRScanner.disableLight(function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nDisable the device's light. If `QRScanner.prepare()` has not been called, this method performs that setup as well.\n\n### Camera Reversal\nQRScanner defaults to the back camera, but can be reversed. If `QRScanner.prepare()` has not been called, these methods perform that setup as well.\n\n```js\nQRScanner.useFrontCamera(function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nSwitch video capture to the device's front camera.\n\n```js\nQRScanner.useBackCamera(function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nCamera selection can also be done directly with the `useCamera` method.\n\n```js\nvar back = 0; // default camera on plugin initialization\nvar front = 1;\nQRScanner.useCamera(front, function(err, status){\n  err && console.error(err);\n  console.log(status);\n});\n```\n\nSwitch video capture to the device's back camera.\n\n### Video Preview Control\n\n```js\nQRScanner.pausePreview(function(status){\n  console.log(status);\n})\n```\n\nPauses the video preview on the current frame (as if a snapshot was taken) and pauses scanning (if a scan is in progress).\n\n```js\nQRScanner.resumePreview(function(status){\n  console.log(status);\n})\n```\n\nResumes the video preview and continues to scan (if a scan was in progress before `pausePreview()`).\n\n### Open App Settings\n\n```js\nQRScanner.getStatus(function(status){\n  if(!status.authorized && status.canOpenSettings){\n    if(confirm(\"Would you like to enable QR code scanning? You can allow camera access in your settings.\")){\n      QRScanner.openSettings();\n    }\n  }\n});\n```\n\nOpen the app-specific permission settings in the user's device settings. Here the user can enable/disable camera (and other) access for your app.\n\nNote: iOS immediately kills all apps affected by permission changes in Settings. If the user changes a permission setting, your app will stop and only restart when they return.\n\n### Get QRScanner Status\n\n```js\nQRScanner.getStatus(function(status){\n  console.log(status);\n});\n```\n\n```js\n{\n  \"authorized\": Boolean\n  \"denied\": Boolean\n  \"restricted\": Boolean\n  \"prepared\": Boolean\n  \"scanning\": Boolean\n  \"previewing\": Boolean\n  \"showing\": Boolean\n  \"lightEnabled\": Boolean\n  \"canOpenSettings\": Boolean\n  \"canEnableLight\": Boolean\n  \"currentCamera\": Number\n}\n```\n\nRetrieve the status of QRScanner and provide it to the callback function.\n\n### Status Object Properties\n\nName                             | Description\n:------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n`authorized`                     | On iOS and Android 6.0+, camera access is granted at runtime by the user (by clicking \"Allow\" at the dialog). The `authorized` property is a boolean value which is true only when the user has allowed camera access to your app (`AVAuthorizationStatus.Authorized`). On platforms with permissions granted at install (Android pre-6.0, Windows Phone) this property is always true.\n`denied`                         | A boolean value which is true if the user permanently denied camera access to the app (`AVAuthorizationStatus.Denied`). Once denied, camera access can only be gained by requesting the user change their decision (consider offering a link to the setting via `openSettings()`).\n`restricted`                     | A boolean value which is true if the user is unable to grant permissions due to parental controls, organization security configuration profiles, or similar reasons.\n`prepared`                       | A boolean value which is true if QRScanner is prepared to capture video and render it to the view.\n`showing`                        | A boolean value which is true when the preview layer is visible (and on all platforms but `browser`, the native webview background is transparent).\n`scanning`                       | A boolean value which is true if QRScanner is actively scanning for a QR code.\n`previewing`                     | A boolean value which is true if QRScanner is displaying a live preview from the device's camera. Set to false when the preview is paused.\n`lightEnabled`                   | A boolean value which is true if the light is enabled.\n`canOpenSettings`                | A boolean value which is true only if the users' operating system is able to `QRScanner.openSettings()`.\n`canEnableLight`                 | A boolean value which is true only if the users' device can enable a light in the direction of the currentCamera.\n`canChangeCamera`                | A boolean value which is true only if the current device \"should\" have a front camera. The camera may still not be capturable, which would emit error code 3, 4, or 5 when the switch is attempted. (On the browser platform, this value is false until the `prepare` method is called.)\n`currentCamera`                  | A number representing the index of the currentCamera. `0` is the back camera, `1` is the front.\n\n\n### Destroy\n\n```js\nQRScanner.destroy(function(status){\n  console.log(status);\n});\n```\n\nRuns [`hide`](#hide), [`cancelScan`](#scan), stops video capture, removes the video preview, and deallocates as much as possible. Basically reverts the plugin to it's startup-state.\n\n## Error Handling\nMany QRScanner functions accept a callback with an `error` parameter. When QRScanner experiences errors, this parameter contains a QRScannerError object with properties `name` (_String_), `code` (_Number_), and `_message` (_String_). When handling errors, rely only on the `name` or `code` parameter, as the specific content of `_message` is not considered part of the plugin's stable API. Particularly if your app is localized, it's also a good idea to provide your own `message` when informing the user of errors.\n\n```js\nQRScanner.scan(function(err, contents){\n  if(err){\n    if(err.name === 'SCAN_CANCELED') {\n      console.error('The scan was canceled before a QR code was found.');\n    } else {\n      console.error(err._message);\n    }\n  }\n  console.log('Scan returned: ' + contents);\n});\n```\n\n### Possible Error Types\n\nCode | Name                        | Description\n---: | :-------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n   0 | `UNEXPECTED_ERROR`          | An unexpected error. Returned only by bugs in QRScanner.\n   1 | `CAMERA_ACCESS_DENIED`      | The user denied camera access.\n   2 | `CAMERA_ACCESS_RESTRICTED`  | Camera access is restricted (due to parental controls, organization security configuration profiles, or similar reasons).\n   3 | `BACK_CAMERA_UNAVAILABLE`   | The back camera is unavailable.\n   4 | `FRONT_CAMERA_UNAVAILABLE`  | The front camera is unavailable.\n   5 | `CAMERA_UNAVAILABLE`        | The camera is unavailable because it doesn't exist or is otherwise unable to be configured. (Also returned if QRScanner cannot return one of the more specific `BACK_CAMERA_UNAVAILABLE` or `FRONT_CAMERA_UNAVAILABLE` errors.)\n   6 | `SCAN_CANCELED`             | Scan was canceled by the `cancelScan()` method. (Returned exclusively to the `QRScanner.scan()` method.)\n   7 | `LIGHT_UNAVAILABLE`         | The device light is unavailable because it doesn't exist or is otherwise unable to be configured.\n   8 | `OPEN_SETTINGS_UNAVAILABLE` | The device is unable to open settings.\n\n## Platform Specific Details\n\nThis plugin attempts to properly abstract all the necessary functions of a well-designed, native QR code scanner. Here are some platform specific details it may be helpful to know.\n\n## iOS\n\nThis plugin is always tested with the latest version of Xcode. Please be sure you have updated Xcode before installing.\n\nIf you run into issues in your own project, try the test project in this repo to confirm your environment is set up properly: `npm run gen-tests && npm run test:ios`.\n\n## Android\n\nOn Android, calling `pausePreview()` will also disable the light. However, if `disableLight()` is not called, the light will be reenabled when `resumePreview()` is called.\n\nIf you run into issues in your own project, try the test project in this repo to confirm your environment is set up properly: `npm run gen-tests && npm run test:android`.\n\n### Permissions\n\nUnlike iOS, on Android >=6.0, permissions can be requested multiple times. If the user denies camera access, `status.denied` will remain `false` unless the user permanently denies by checking the `Never ask again` checkbox. Once `status.denied` is `true`, `openSettings()` is the only remaining option to grant camera permissions.\n\nBecause of API limitations, `status.restricted` will always be false on the Android platform. See [#15](https://github.com/bitpay/cordova-plugin-qrscanner/issues/15) for details. Pull requests welcome!\n\n## Windows\n\nBefore testing - ensure the Windows Phone SDK is installed. In order to deploy from the command line Windows Phone 8.0 SDK and Visual Studio 2012 update 2 (or later) must be installed. Visual Studio 2015 is recommended for debugging Windows desktop apps.\n\nThe Windows platform renders an impervious white layer behind its browser- the video preview is not behind the webView, but is actually an HTML element that is carefully managed. Hide and show change the style properties (visibility) of the preview.\n\n## Browser\n\nWhile the browser implementation matches the native mobile implementations very closely, the platform itself does not. Notably:\n\n- **multiple cameras** – most laptops/desktops do not have access to multiple cameras – so there is no concept of a \"front\" or \"back\" camera\n- **light** – we are not aware of any devices for the `browser` platform which have a \"light\" (aka. \"torch\") – should a device like this be produced, and if [this spec](http://w3c.github.io/mediacapture-image/#filllightmode) is [implemented by Chromium](https://bugs.chromium.org/p/chromium/issues/detail?id=485972), this plugin will attempt to support it.\n\nThe browser implementation of this plugin is designed to abstract these platform differences very thoroughly. It's recommended that you focus your development efforts on implementing this plugin well for one of the mobile platform, and the browser platform implementation will degrade gracefully from there.\n\n### Video Preview DOM Element\n\nUnlike the other platforms, it's not possible to spawn the `<video>` preview behind the `<html>` and `<body>` using only Javascript. Trying to mimick the effect by making the element a sibling to either the `<html>` or `<body>` elements also produces inconsistent results (ie: no rendering on Chromium). Instead, this plugin appends the `<video>` element as the final child of the `<body>` element, and applies styling to cover the entire background.\n\nAs a consequence, you should assume that your `<body>` element will be completely obscured from view as soon as the plugin is `prepare()`ed. When building your application, apply styling you might otherwise apply to the `<body>` element to a child \"container\" `<div>` or other element. To show the video preview, call the `show()` method and make this container transparent.\n\n### Privacy Lights\n\nMost devices now include a hardware-level \"privacy light\", which is enabled when the camera is being used. To prevent this light from being \"always on\" when the app is running, the browser platform disables/enables use of the camera with the `hide`, `show`, `pausePreview`, and `resumePreview` methods. If your implementation works well on a mobile platform, you'll find that this addition provides a great head start for a solid `browser` implementation.\n\nFor this same reason, scanning requires the video preview to be active, and the `pausePreview` method will also pause scanning on the browser platform. (Calling `resumePreview` will continue the scan.)\n\n### Camera Selection\n\nWhen the `prepare` method runs, the browser platform attempts to select the best camera as the \"back\" camera (the default camera). If a \"next-best\" camera is available, that camera will be selected as the \"front\" camera. Camera switching is intended to be \"togglable\", so this plugin has no plans to support access to more than 2 cameras.\n\nThe \"back\" camera is selected by the following criteria:\n1. [**facingMode**](http://w3c.github.io/mediacapture-main/#dfn-facingmode) – if a camera with a facingMode of `environment` exists, we use this one.\n2. **resolution** – If multiple `environment` cameras are available, the highest resolution camera is selected. If no back-facing cameras exist, we default to the highest resolution camera available.\n\nIf more cameras are available, the \"front\" camera is then chosen from the highest resolution camera remaining.\n\n### Light\n\nThe browser platform always returns the boolean `status.canEnableLight` as `false`, and the enableLight/disableLight methods throw the `LIGHT_UNAVAILABLE` error code.\n\n`status.canEnableLight` is camera specific, meaning it will return `false` if the camera in use does not have a flash.\n\n#### Using Status.authorized\n\nBoth Electron and NW.js automatically provide authorization to access the camera (without user confirmation) to bundled applications. This difference can't be detected via an API this plugin can implement, so the `authorized` property on any returned Status objects will be `false` on startup, even when it should be `true`. You should adjust your code to assume that these platforms are always authorized. (ie: Skip \"permission priming\" on these platforms.)\n\nOn the `browser` platform, the `authorized` field is set to `true` if at least one camera is available **and** the user has granted the application access to at least one camera. On Electron and NW.js, this field can reliably be used to determine if a camera is available to the device.\n\n### Adjusting Scan Speed vs. CPU/Power Usage (uncommon)\n\nOn the browser platform, it's possible to adjust the interval at which QR decode attempts occur – even while a scan is happening. This enables applications to intellegently adjust scanning speed in different application states. QRScanner will check for the presence of the global variable `window.QRScanner_SCAN_INTERVAL` before scheduling each next QR decode. If not set, the default of `130` (milliseconds) is used.\n\n## Typescript\nType definitions for cordova-plugin-qrscanner are [available in the DefinitelyTyped project](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/cordova-plugin-qrscanner/cordova-plugin-qrscanner.d.ts).\n\n## Contributing &amp; Testing\n\nTo contribute, first install the dependencies:\n\n```sh\nnpm install\n```\n\nThen setup the test project:\n\n```sh\nnpm run gen-tests\n```\n\nThis will create a new cordova project in the `cordova-plugin-test-projects` directory next to this repo, install `cordova-plugin-qrscanner`, and configure the [Cordova Plugin Test Framework](https://github.com/apache/cordova-plugin-test-framework). Once the platform tests are generated, the following commands are available:\n\n- `npm run test:android`\n- `npm run test:browser`\n- `npm run test:ios`\n- `npm run test:windows`\n\nBoth Automatic Tests (via Cordova Plugin Test Framework's built-in [Jasmine](https://github.com/jasmine/jasmine)) and Manual Tests are available. Automatic tests confirm the existence and expected structure of the javascript API, and manual tests should be used to confirm functionality on each platform.\n\nThe manual tests for the library are available without the cordova test project:\n\n- `npm run test:library`\n\nThe build for this repo currently only confirms javascript style and syntax with [jshint](https://github.com/jshint/jshint). Pull requests with additional automated test methods are welcome!\n","readmeFilename":"readme.md","gitHead":"77653aea8704b7b11a61d109006ce041011c9dd5","_id":"cordova-plugin-qrscanner@2.6.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dev","email":"ematiu@gmail.com"},"dist":{"integrity":"sha512-wUdgNgjDMNQPFEi47Ft3SRFD8eIS8pCnnIijzIRZaoVj/nhixfI/Dtna8u3IYPX4lOMdlo9GX4/7lz/Q6C0Yhw==","shasum":"85935dc5585b0ac0ec79c798f572f5875adde8b9","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-2.6.2.tgz","fileCount":51,"unpackedSize":3990066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnh+NCRA9TVsSAnZWagAA6eoP/2b3dnlhp50ocWkq2oJw\nOjbQTbvOmPnNfo0YiaQsbe0RCqTKU/3bqt7MPNwY+Bu/QVu4TzEUgSe+z170\naH7lJ5PxG+9uXNGCqg1d93HtclvBTh4hx9LfHXeD8DLBqU3y8CQEAPe1Yivm\nS9CtRNUGF9XnsZyKQGD6kgpA99EVMnnKnj7A7RmonrY78qcdgTE3M0+Pm6Uw\nwDgqDg6NTMPVRn8LToyBChYZye99u6nXyqw92dZWK34Kf+ggLd28iNvbpycQ\ne+n54ybvcYLiKOrjZ9RXZel7VXbKMaXKFW1uR7Eb2zJidpUlQAmyjqUBNkAA\neR8ANwjlTvPKjk1jviQunyHNOtj9rRD//fCYUJNYs79EbVn8azhw389M2Rdc\nD4NIpApjg2BxY9W6wZ3ZxnZeYyJ6DG5ux8Di0ZOD3hsITMbBZfEcvofsa0O/\neyKspjQYz7TJ+v3eC5/c56cLbv3it+x5QT12Jix/kNMKW05LNox4isSzPFZH\nRMEzeW4t8gjDpnJBPksocPDQXY/TpFI2CWvHzwKvktXCXEPWmlVIBbD2s+pd\nU74ivq8ceO4VJRqisS0RP4UkZkkcjFdB3BNWFPGIHq7HodmBVkj1QopDk1sF\nH5ZlTLg8IB1Vr2KNhoqLYJn1QYKVMZvwgro09o5lAyTUznf5NKx/UCNDOtyC\nwXIv\r\n=vBFF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFqVPiBuNXKyuEVmVB3/cH5bUGdVo1lyREZH3PF+L7uYAiEA9bSoWllifq0Gl92MgGKioNAe+RBqe/hnc9TMv7l1fos="}]},"maintainers":[{"email":"ematiu@gmail.com","name":"dev"},{"email":"stephen@pairhome.net","name":"dev"},{"email":"nitsujlangston@gmail.com","name":"dev"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-qrscanner_2.6.2_1553866636784_0.7229376117607256"},"_hasShrinkwrap":false},"3.0.0":{"name":"cordova-plugin-qrscanner","version":"3.0.0","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:windows":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:windows","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","commitmsg":"validate-commit-msg","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","main":"dist/cordova-plugin-qrscanner-lib.min.js","dependencies":{"qrcode-reader":"^1.0.4","webrtc-adapter":"^3.1.4"},"devDependencies":{"conventional-changelog-cli":"^1.2.0","cz-conventional-changelog":"^2.0.0","express":"^4.14.0","gulp":"^3.9.1","gulp-insert":"^0.5.0","husky":"^0.13.1","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.7.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"5e222a2205a7c87adaf72faa9fe626d08df84869","_id":"cordova-plugin-qrscanner@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dev","email":"ematiu@gmail.com"},"dist":{"integrity":"sha512-xDtUt+LkP6essZYjplgtOwB85olZIGE6oBYnNOR8d0w+uUO/+a95mRJpXKdzcRNnO4dUBtrgF33pUDn3q//0Vg==","shasum":"bc8e8596d1975c84137c5bd9defd662b15fbb70d","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-3.0.0.tgz","fileCount":51,"unpackedSize":3990576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnh/DCRA9TVsSAnZWagAApZkP+wXTzp5uwqQ2fmDdfuwq\nPwxOZp03UjfG1vUcFY0PbAp5EXHOPqZCLU+Vj4rIZ7uLU6lKp86yGbbKjhhs\nXRdhQGG3UyEF+Nap4LfCbTL3B8DwXkAmcYTx/nNQFU9VzkGL+XCt3hWGm69B\ni2ZO/bhcgsaA94FNfD0kQLjpbSRRc8fItyuByUxOV8z9lrOsz/uHZrvusc5x\nf25I4RH9ijcc9g5AMXVgYTie4RXdgcOB/Fmq+x8P9Lok/W3A75XKf1bjp/y6\nGFRsdChV4Vsqalv/K+nqa/LEsd/VDNu2vR8YB2GxfwzQIIkpUVgbpxbnosQp\nvvqu7z77n2fB/WBoqek5IOsifSs7eWBBNHS5AhlIUGw+oSElo1OV7cE3DhjY\ndqczcKA+0wxBfS1TrP29IH7K3T4eIcQa7V1kYupDBK+yk6BSFjLtO2knDZWF\nn+XTygu9Y+WciwSUVbnF0Y1qt+6bGVrfsHdgkeoF3/bzOHjwMGzOdh57tzgT\nfGZHw6xoEWJmw+EZYCHUzcw0OqpnGQDFY2phYI2O2aKhID8tOup/8IG45tt8\nw0KjMaolwYK/GndqX9BfD+NyGQLDe14pnIC+hacrZn9/JNMFAQGfB0gQffG6\n2huhQcRzMcpsyNAHVXZzK0YilcAYtb+KMIhjPestqQ1x/0435l9azYOrWKKN\nGRjz\r\n=42te\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFRTTR68K7TUK5VyfQ3rSySx3P8ZiEU+t0Qh3JMyH86wIgFkCY4DO9Ff/wDpjLC7hFPKLcdeO0lKtaLcTB1lwT25E="}]},"maintainers":[{"email":"ematiu@gmail.com","name":"dev"},{"email":"stephen@pairhome.net","name":"dev"},{"email":"nitsujlangston@gmail.com","name":"dev"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-qrscanner_3.0.0_1553866690126_0.21239950567909527"},"_hasShrinkwrap":false},"3.0.1":{"name":"cordova-plugin-qrscanner","version":"3.0.1","description":"Fast, energy-efficient, highly-configurable QR code scanner.","cordova":{"id":"cordova-plugin-qrscanner","platforms":["ios"]},"scripts":{"build":"gulp && npm run clean-build","clean-build":"trash dist/plugin.min.js && trash dist/www.min.js && trash src/browser/worker.min.js","test":"npm run jshint","jshint":"jshint src/browser/src && jshint src/common/src && jshint tests","gen-tests":"npm run build && npm run clean-platform-tests && npm run mkdirp-platform-tests && npm run copy-platform-tests && npm run install-platform-tests","clean-platform-tests":"trash ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","mkdirp-platform-tests":"mkdirp ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","copy-platform-tests":"ncp tests/project ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests","install-platform-tests":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm install","test:ios":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:ios","test:android":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:android","test:browser":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:browser","test:windows":"cd ../cordova-plugin-test-projects/cordova-plugin-qrscanner-tests && npm run test:windows","test:library":"npm run build && node tests/library/test.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","commitmsg":"validate-commit-msg","prep-release":"git clean -dfx && npm install && npm run build && npm run changelog"},"repository":{"type":"git","url":"git+https://github.com/bitpay/cordova-plugin-qrscanner.git"},"keywords":["cordova","qr","qr code","scanner","reader","ecosystem:cordova","cordova-ios","cordova-android","cordova-browser","UMD","library","electron","NW.js"],"author":{"name":"Jason Dreyzehner"},"license":"MIT","bugs":{"url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues"},"homepage":"https://github.com/bitpay/cordova-plugin-qrscanner","main":"dist/cordova-plugin-qrscanner-lib.min.js","dependencies":{"qrcode-reader":"^1.0.4","webrtc-adapter":"^3.1.4"},"devDependencies":{"conventional-changelog-cli":"^1.2.0","cz-conventional-changelog":"^2.0.0","express":"^4.14.0","gulp":"^3.9.1","gulp-insert":"^0.5.0","husky":"^0.13.1","jshint":"^2.9.2","mkdirp":"^0.5.1","ncp":"^2.0.0","raw-loader":"^0.5.1","trash-cli":"^1.3.0","validate-commit-msg":"^2.6.1","webpack":"^2.7.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"helpMessage":"\nThis project uses commitizen to document changes. Please try:\nnpm install commitizen -g && git cz\n"}},"gitHead":"b62efb64801ba0b830f0aac556935c0978d2fb98","_id":"cordova-plugin-qrscanner@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dev","email":"ematiu@gmail.com"},"dist":{"integrity":"sha512-xrwOP3nD+VmRSiV0w7chZ5PLw2YwpI9vtLdeoGNYLLzmmjjYbyIof+x9vOEOgjtwrg9S61rukmOZhQAmkzaosA==","shasum":"34af2ede5ce857ee9b4d75936e2916fead238545","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/cordova-plugin-qrscanner/-/cordova-plugin-qrscanner-3.0.1.tgz","fileCount":51,"unpackedSize":3990600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnkNSCRA9TVsSAnZWagAAUmYP/3+xIrzTMmvlOzp8sd/6\nXg1VWigb0Vd+yqVlj+OsHL6vWirhWvo9jn5EsMJQJqIF6+eKkovY/FAqhvhE\n646fysQBR4oFxfBQBJ0Fd0BSmVGPGRWF7T+PIrAe87STGl3sEjiusc4MllkN\nd+jm4PzTrjSDZBh7F+LFqM8Ci0MJOE4jGYXeS4SiIs4z1QoxKs7VDt6eHCjN\nVIlx3dmzh6qkKhDn9O/vUiyQaa58u3EGs2Hx5YJW3+0UDUM9VXMIno+wHyGN\nEHzBqWgEIYb8NAEeVdMV5o+RdUjev4CRAahCNEsc6xvtN58hV/207JNJUVwk\nzMwv7fdnKegx2PQV5oOiQcR4TGMsHGG6AcKvNYEvrwX+wAihJzcH2qtOYPCM\ncLYUPcn02fEv3RYN9aPZ5c5NveTN+vCS1QTpGZqwWNZGAD0qrxv7NwyhYIey\nb1FCM918E458NMoPjeBj+e3ppRx9aNtP11QIFrTiVZxPYbiiT765XpZz4wTZ\n82TmB6mmV95ZilhzD5LnYULQrc28y0oZrYPkD+2U+hYMCMadVMxpge8hTRpU\nSW2HYZraldvcNotw/Dja1mUMOHJPQDEDKplg9YMz8IQKeC6tIE2D+YoFoG/o\nTchbrL49jvXdsEnFuhbryvS5JBh3vatXOCJvsI++Nx3HTE+wLmJ8UWtazIXf\nPD+j\r\n=DfL3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHyFfjqlHfkAQvHTpU7wuIsaT6hlFXjlUoEaCpnKEgO4CIGVFwt2zsRvFo91zTrBK450eopWplgrhJ8oq8OP4qYaf"}]},"maintainers":[{"email":"ematiu@gmail.com","name":"dev"},{"email":"stephen@pairhome.net","name":"dev"},{"email":"nitsujlangston@gmail.com","name":"dev"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-qrscanner_3.0.1_1553875792676_0.8090313467042893"},"_hasShrinkwrap":false}},"name":"cordova-plugin-qrscanner","time":{"modified":"2022-06-14T00:42:45.150Z","created":"2016-01-18T02:24:29.095Z","0.1.0":"2016-01-18T02:24:29.095Z","1.0.0":"2016-01-25T02:20:31.321Z","1.0.1":"2016-02-23T01:01:12.302Z","1.1.0":"2016-04-05T15:23:41.807Z","2.0.0":"2016-06-29T20:48:43.185Z","2.0.1":"2016-08-03T19:00:23.641Z","2.1.0":"2016-08-05T16:56:56.591Z","2.1.1":"2016-08-12T23:52:09.051Z","2.3.0":"2016-09-28T00:41:10.891Z","2.3.1":"2016-09-28T00:48:25.062Z","2.3.2":"2016-09-28T20:18:44.467Z","2.3.3":"2016-09-29T02:50:00.034Z","2.3.4":"2016-10-01T21:34:30.608Z","2.4.0":"2016-10-06T00:42:19.567Z","2.4.1":"2017-02-14T21:16:54.620Z","2.5.0":"2017-02-15T18:52:05.202Z","2.6.0":"2018-05-17T18:42:46.740Z","2.6.1":"2019-03-28T09:42:53.905Z","2.6.2":"2019-03-29T13:37:17.055Z","3.0.0":"2019-03-29T13:38:10.450Z","3.0.1":"2019-03-29T16:09:52.845Z"},"readmeFilename":"readme.md","homepage":"https://github.com/bitpay/cordova-plugin-qrscanner"}