{"bugs":{"url":"https://github.com/Sec-ant/zxing-wasm/issues","email":"zezhengwu@proton.me"},"dist":{"shasum":"15a4831b62aee6597f4ddca0167dfad8e3956878","tarball":"https://registry.npmjs.org/zxing-wasm/-/zxing-wasm-3.1.2.tgz","fileCount":66,"integrity":"sha512-yHloUw+h43r9QhFwVEbdkfmsl9h3rHRpgvvVd9WdhipM3TCYYzGVACmnT+i/YPrNK/eZRgs1ZMISsyJtAoimzA==","signatures":[{"sig":"MEQCIGoMXtHxqqzN13/zIdp9eeNCohevBCSHijqUZH5EJlsDAiBVPDx2G9+nCoHPrgCZUCX6uW05mov24zSis0UJOfIERw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/zxing-wasm@3.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3774027},"main":"./dist/cjs/full/index.js","name":"zxing-wasm","type":"module","author":{"name":"Ze-Zheng Wu"},"module":"./dist/es/full/index.js","exports":{".":{"import":"./dist/es/full/index.js","default":"./dist/es/full/index.js","require":"./dist/cjs/full/index.js"},"./full":{"import":"./dist/es/full/index.js","default":"./dist/es/full/index.js","require":"./dist/cjs/full/index.js"},"./reader":{"import":"./dist/es/reader/index.js","default":"./dist/es/reader/index.js","require":"./dist/cjs/reader/index.js"},"./writer":{"import":"./dist/es/writer/index.js","default":"./dist/es/writer/index.js","require":"./dist/cjs/writer/index.js"},"./imageData":{"import":{"types":"./dist/es/types/imageData.d.ts"},"default":{"types":"./dist/es/types/imageData.d.ts"},"require":{"types":"./dist/cjs/types/imageData.d.ts"}},"./full/zxing_full.wasm":{"import":{"types":"./dist/es/types/wasm.d.ts","default":"./dist/full/zxing_full.wasm"},"default":{"types":"./dist/es/types/wasm.d.ts","default":"./dist/full/zxing_full.wasm"},"require":{"types":"./dist/cjs/types/wasm.d.ts","default":"./dist/full/zxing_full.wasm"}},"./reader/zxing_reader.wasm":{"import":{"types":"./dist/es/types/wasm.d.ts","default":"./dist/reader/zxing_reader.wasm"},"default":{"types":"./dist/es/types/wasm.d.ts","default":"./dist/reader/zxing_reader.wasm"},"require":{"types":"./dist/cjs/types/wasm.d.ts","default":"./dist/reader/zxing_reader.wasm"}},"./writer/zxing_writer.wasm":{"import":{"types":"./dist/es/types/wasm.d.ts","default":"./dist/writer/zxing_writer.wasm"},"default":{"types":"./dist/es/types/wasm.d.ts","default":"./dist/writer/zxing_writer.wasm"},"require":{"types":"./dist/cjs/types/wasm.d.ts","default":"./dist/writer/zxing_writer.wasm"}}},"license":"MIT","private":false,"scripts":{"dev":"vite","lint":"biome lint .","test":"vitest --hideSkippedTests","bench":"vitest bench --run","build":"conc \"pnpm:build:es\" \"pnpm:build:cjs\" \"pnpm:build:iife\" \"pnpm:build:miniprogram\"","check":"pnpm -s format:prettier && pnpm -s check:biome","format":"pnpm -s format:prettier && pnpm -s format:biome","preview":"vite preview","test:ui":"vitest --hideSkippedTests --ui","build:es":"vite build","docs:dev":"conc \"pnpm:docs:preview\" \"typedoc --watch --excludeInternal\"","prebuild":"pnpm -s check && pnpm -s type-check && pnpm -s clear:dist","bench:bmf":"vitest bench --run --outputJson bench/bench.json && node ./scripts/vitest-bench-to-bmf.mjs bench/bench.json bench/bmf.json","build:all":"pnpm -s submodule:init && pnpm -s build:wasm && pnpm -s build","build:cjs":"tsx ./scripts/build-cjs.ts","copy:wasm":"copy-files-from-to","postbuild":"conc \"pnpm:copy:wasm\" \"pnpm:docs:build\"","bench:save":"vitest bench --run --outputJson bench/bench.json","build:iife":"tsx ./scripts/build-iife.ts","build:wasm":"pnpm -s build:wasm:reader && pnpm -s build:wasm:writer && pnpm -s build:wasm:full","clear:dist":"rimraf dist","cmake:base":"emcmake cmake -S src/cpp -B build","cmake:full":"pnpm -s cmake:base -DTARGET=FULL","docs:build":"typedoc --excludeInternal","sync-emsdk":"./scripts/sync-emsdk.sh","type-check":"tsc -p ./tsconfig.pkg.json --noEmit --emitDeclarationOnly false","bundlewatch":"bundlewatch --config bundlewatch.config.json","check:biome":"biome check --write .","cmake:reader":"pnpm -s cmake:base -DTARGET=READER","cmake:writer":"pnpm -s cmake:base -DTARGET=WRITER","docs:preview":"vite preview --outDir ./docs","format:biome":"biome format . --write","postbuild:es":"tsc -p ./tsconfig.pkg.json --declarationDir ./dist/es","update-hooks":"simple-git-hooks","bench:compare":"vitest bench --run --compare bench/bench.json","postbuild:cjs":"tsc -p ./tsconfig.pkg.json --declarationDir ./dist/cjs","submodule:init":"git submodule update --init --recursive","build:wasm:base":"cmake --build build -j$(($(nproc 2>/dev/null || sysctl -n hw.logicalcpu) - 1))","build:wasm:full":"pnpm -s cmake:full && pnpm -s build:wasm:base","format:prettier":"pretty-quick","submodule:update":"git submodule update --remote zxing-cpp && git -C zxing-cpp submodule update --init --recursive","build:miniprogram":"tsx ./scripts/build-miniprogram.ts","build:wasm:reader":"pnpm -s cmake:reader && pnpm -s build:wasm:base","build:wasm:writer":"pnpm -s cmake:writer && pnpm -s build:wasm:base","bump-biome:latest":"pnpm add -DE @biomejs/biome@latest","bump-biome:nightly":"pnpm add -DE @biomejs/biome@nightly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f67b3aec-e834-4d8d-b6b5-2193d161b1af"}},"homepage":"https://github.com/Sec-ant/zxing-wasm","keywords":["qrcode","barcode","wasm","zxing","zxing-cpp","esmodule","webassembly"],"repository":{"url":"git+https://github.com/Sec-ant/zxing-wasm.git","type":"git"},"description":"ZXing-C++ WebAssembly as an ES/CJS module with types","directories":{},"maintainers":[{"name":"sec-ant","email":"zezhengwu@proton.me"}],"miniprogram":"./dist/miniprogram","_nodeVersion":"24.18.0","dependencies":{"type-fest":"^5.8.0","@types/emscripten":"^1.41.5"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"full":["./dist/es/full/index.d.ts","./dist/cjs/full/index.d.ts"],"reader":["./dist/es/reader/index.d.ts","./dist/cjs/reader/index.d.ts"],"writer":["./dist/es/writer/index.d.ts","./dist/cjs/writer/index.d.ts"],"imageData":["./dist/es/types/imageData.d.ts","./dist/cjs/types/imageData.d.ts"],"full/zxing_full.wasm":["./dist/es/types/wasm.d.ts","./dist/cjs/types/wasm.d.ts"],"reader/zxing_reader.wasm":["./dist/es/types/wasm.d.ts","./dist/cjs/types/wasm.d.ts"],"writer/zxing_writer.wasm":["./dist/es/types/wasm.d.ts","./dist/cjs/types/wasm.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.0","vite":"^8.1.4","yaml":"^2.9.0","rimraf":"^6.1.3","vitest":"^4.1.10","typedoc":"^0.28.20","prettier":"^3.9.5","@vitest/ui":"^4.1.10","tinyglobby":"^0.2.17","typescript":"^6.0.3","@types/node":"^26.1.1","bundlewatch":"^0.4.2","lint-staged":"^17.0.8","concurrently":"^10.0.3","pretty-quick":"^4.2.2","@biomejs/biome":"2.5.3","@changesets/cli":"^2.31.0","@napi-rs/canvas":"^1.0.2","simple-git-hooks":"^2.13.1","copy-files-from-to":"^4.0.1","typedoc-plugin-replace-text":"^4.2.0"},"peerDependencies":{"@types/emscripten":">=1.39.6"},"_npmOperationalInternal":{"tmp":"tmp/zxing-wasm_3.1.2_1784381598700_0.4140521266077406","host":"s3://npm-registry-packages-npm-production"},"_id":"zxing-wasm@3.1.2","version":"3.1.2"}