├── .eslintrc.json ├── .github ├── dependabot.yml └── workflows │ ├── docs.yml │ ├── main.yml │ ├── release.yml │ └── size.yml ├── .gitignore ├── .husky └── pre-commit ├── .lintstagedrc ├── .prettierignore ├── .prettierrc ├── LICENSE ├── README.md ├── assets ├── qrcode_scheme.png └── qrcode_scheme.psb ├── package.json ├── src ├── AbstractQRCodeWithImage.ts ├── QRCodeCanvas.ts ├── QRCodeRaw.ts ├── QRCodeSVG.ts ├── QRCodeText.ts ├── index.ts ├── loader │ └── ImageLoader.ts ├── tests │ ├── AbstractQRCodeWithImage.test.ts │ ├── ColorUtils.test.ts │ ├── DimensionUtils.test.ts │ ├── ImageLoader.test.ts │ ├── QRCodeCanvas.test.ts │ ├── QRCodeRaw.test.ts │ ├── QRCodeSVG.test.ts │ ├── QRCodeText.test.ts │ └── __snapshots__ │ │ └── QRCodeSVG.test.ts.snap └── utils │ ├── ColorUtils.ts │ ├── DimensionUtils.ts │ └── invariant.ts ├── tsconfig.json ├── tsup.config.ts ├── typedoc.json └── vite.config.ts /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/size.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.github/workflows/size.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .DS_Store 3 | node_modules 4 | dist 5 | 6 | typedocs/ -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged -q 5 | -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.lintstagedrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/README.md -------------------------------------------------------------------------------- /assets/qrcode_scheme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/assets/qrcode_scheme.png -------------------------------------------------------------------------------- /assets/qrcode_scheme.psb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/assets/qrcode_scheme.psb -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/package.json -------------------------------------------------------------------------------- /src/AbstractQRCodeWithImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/AbstractQRCodeWithImage.ts -------------------------------------------------------------------------------- /src/QRCodeCanvas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/QRCodeCanvas.ts -------------------------------------------------------------------------------- /src/QRCodeRaw.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/QRCodeRaw.ts -------------------------------------------------------------------------------- /src/QRCodeSVG.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/QRCodeSVG.ts -------------------------------------------------------------------------------- /src/QRCodeText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/QRCodeText.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/loader/ImageLoader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/loader/ImageLoader.ts -------------------------------------------------------------------------------- /src/tests/AbstractQRCodeWithImage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/AbstractQRCodeWithImage.test.ts -------------------------------------------------------------------------------- /src/tests/ColorUtils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/ColorUtils.test.ts -------------------------------------------------------------------------------- /src/tests/DimensionUtils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/DimensionUtils.test.ts -------------------------------------------------------------------------------- /src/tests/ImageLoader.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/ImageLoader.test.ts -------------------------------------------------------------------------------- /src/tests/QRCodeCanvas.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/QRCodeCanvas.test.ts -------------------------------------------------------------------------------- /src/tests/QRCodeRaw.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/QRCodeRaw.test.ts -------------------------------------------------------------------------------- /src/tests/QRCodeSVG.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/QRCodeSVG.test.ts -------------------------------------------------------------------------------- /src/tests/QRCodeText.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/QRCodeText.test.ts -------------------------------------------------------------------------------- /src/tests/__snapshots__/QRCodeSVG.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/tests/__snapshots__/QRCodeSVG.test.ts.snap -------------------------------------------------------------------------------- /src/utils/ColorUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/utils/ColorUtils.ts -------------------------------------------------------------------------------- /src/utils/DimensionUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/utils/DimensionUtils.ts -------------------------------------------------------------------------------- /src/utils/invariant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/src/utils/invariant.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/typedoc.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akamfoad/qrcode/HEAD/vite.config.ts --------------------------------------------------------------------------------