# bpg-decoder

> A BPG decoder for the web.

Latest version **0.0.7** (published 2017-03-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install bpg-decoder
pnpm add bpg-decoder
yarn add bpg-decoder
bun add bpg-decoder
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2017-03-23 |
| First published | 2017-03-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Yichi Xing |
| Maintainers | yichixing |
| Keywords | BPG |

## Links

- npm: https://www.npmjs.com/package/bpg-decoder
- Repository: https://github.com/xingmarc/bpg-decoder
- Homepage: https://github.com/xingmarc/bpg-decoder#readme
- Issues: https://github.com/xingmarc/bpg-decoder/issues
- npm.io page: https://npm.io/package/bpg-decoder

## Recent versions

- 0.0.7 (latest) — 2017-03-23
- 0.0.6 — 2017-03-23
- 0.0.5 — 2017-03-22
- 0.0.4 — 2017-03-10
- 0.0.3 — 2017-03-06
- 0.0.2 — 2017-03-04
- 0.0.1 — 2017-03-04

## README

# bpg-decoder
> This repo is originated from https://github.com/mirrorer/libbpg

Use BPG format today to make your website faster!

A React component for BPG using this repo: https://github.com/xuezhma/react-bpg


## usage:

`npm install bpg-decoder`

```
var BPGDecoder = require('bpg-decoder');
canvas = document.getElementById("mycanvas");
ctx = canvas.getContext("2d");
img = new BPGDecoder(ctx);
img.load("your-bpg-picture.bpg");
```


## known issue
see issues.

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