プロジェクト
GitHubで見る
Rich-Harris/headless-qr
概要
シンプルでモダンなQRコードライブラリ
開発ツール計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルheadless-qr
A simple, modern QR code generator. Adapted from https://github.com/kazuhikoarase/qrcode-generator but without all the junk that was necessary 10 years ago.
Usage
import { qr } from 'headless-qr';
// generate an n x n array of booleans,
// where `true` is a dark pixel
const modules = qr('https://example.com');
// specify version and error correction
const modules = qr('https://example.com', {
version: 40, // 1 - 40, will select the best version if unspecified
correction: 'Q' // L, M, Q or H
});
関連プロジェクトを探す
読み込み中…