Skip to content

add JavaScript ES module version as es#100

Open
taisukef wants to merge 27 commits into
kazuhikoarase:masterfrom
taisukef:es
Open

add JavaScript ES module version as es#100
taisukef wants to merge 27 commits into
kazuhikoarase:masterfrom
taisukef:es

Conversation

@taisukef

Copy link
Copy Markdown

very easy to use

import { QR } from "https://taisukef.github.io/qrcode-generator/es/QR.js";

const data = QR.encode("Hi!");
console.log(data);

also runs on Deno runtime

$ deno run sample.js

@ralyodio

Copy link
Copy Markdown

Can we merge this in?

@ralyodio

ralyodio commented Nov 20, 2021

Copy link
Copy Markdown

How would I put the data on a image data url?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants