# evrythng-scan

> Plugin for evrythng.js that adds Barcode, QR code, Image Recognition and OCR scanning to applications.

Latest version **3.0.0-pre** (published 2016-12-16) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install evrythng-scan
pnpm add evrythng-scan
yarn add evrythng-scan
bun add evrythng-scan
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0-pre |
| Published | 2016-12-16 |
| First published | 2016-12-16 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | EVRYTHNG Ltd. |
| Maintainers | evrythng |
| Keywords | evrythng, evt, iot, wot, internet of things, web of things, scanthng, thngscan, thng-scan |

## Links

- npm: https://www.npmjs.com/package/evrythng-scan
- Repository: https://github.com/evrythng/evrythng-scan.js
- Homepage: https://github.com/evrythng/evrythng-scan.js#readme
- Issues: https://github.com/evrythng/evrythng-scan.js/issues
- npm.io page: https://npm.io/package/evrythng-scan

## Recent versions

- 3.0.0-pre (latest) — 2016-12-16

## README

# evrythng-scan.js

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](http://standardjs.com)

## Getting started

### Install evrythng-scan.js using npm.

```javascript
npm install evrythng-scan
```

Then require it into any module.

```javascript
const EVT = require('evrythng')
const EVTScan = require('evrythng-scan')

EVT.use(EVTScan)

/* ... Init app using EVT.js ... */

app.scan().then(match => {
  app.redirect(match.redirections[0].redirectUrl)
})
```

### Browser

To use immutable from a browser, download `dist/evrythng-scan.min.js` or use a CDN such as CDNJS or jsDelivr.

Then, add it as a script tag to your page:

```html
<script src="evrythng.min.js"></script>
<script src="evrythng-scan.min.js"></script>
<script>
    EVT.use(EVTScan)

    /* ... Init app using EVT.js ... */

    app.scan().then(match => {
      app.redirect(match.redirections[0].redirectUrl)
    })
</script>
```

Or use an AMD loader (such as RequireJS):

```javascript
require(['./evrythng.min.js', './evrythng-scan.min.js'], (EVT, EVTScan) => {
    EVT.use(EVTScan)

    /* ... Init app using EVT.js ... */

    app.scan().then(match => {
      app.redirect(match.redirections[0].redirectUrl)
    })
})
```

If you're using browserify, the `evrythng-scan` npm module also works from the browser.

---
_Source: https://npm.io/package/evrythng-scan · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
