# openbarcode

> barcode library for javascript

Latest version **1.0.3** (published 2015-06-08) · Apache license · 0 weekly downloads

## Install

```sh
npm install openbarcode
pnpm add openbarcode
yarn add openbarcode
bun add openbarcode
```

## 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 | 1.0.3 |
| Published | 2015-06-08 |
| First published | 2015-06-07 |
| Weekly downloads | 0 |
| License | Apache |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Yoel Nunez |
| Maintainers | yoel |
| Keywords | openbarcode, barcode, upc, ean, code39, javascript |

## Links

- npm: https://www.npmjs.com/package/openbarcode
- Repository: https://github.com/ynunez/openbarcodejs
- Issues: https://github.com/ynunez/openbarcodejs/issues
- npm.io page: https://npm.io/package/openbarcode

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2015-06-08
- 1.0.2 — 2015-06-08
- 1.0.1 — 2015-06-08
- 1.0.0 — 2015-06-07

## README

# openbarcode

Usage with **Node.js**

Install by using `npm install openbarcode`

    var openbarcode = require("openbarcode");

    try {
        var upc = new openbarcode.UPC("12345678901");

        console.log(upc.bars());
        console.log(upc.code());
        
        var ean = new openbarcode.UPC("123456789012");

        console.log(ean.bars());
        console.log(ean.code());

        var code39 = new openbarcode.Code39("Hello World");

        console.log(code39.bars());
        console.log(code39.code());;
    } catch (e) {
        console.log(e);
    }

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