Skip to content

add JavaScript ES module version as es#100

Open
taisukef wants to merge 27 commits intokazuhikoarase:masterfrom
taisukef:es
Open

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

Conversation

@taisukef
Copy link

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

Can we merge this in?

@ralyodio
Copy link

ralyodio commented Nov 20, 2021

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