{"bin":{"watr":"bin/watr.js"},"bugs":{"url":"https://github.com/dy/watr/issues"},"dist":{"shasum":"300f4362f161e4b42823db2337e96bd097fd966e","tarball":"https://registry.npmjs.org/watr/-/watr-5.13.8.tgz","fileCount":37,"integrity":"sha512-tAxf1z/fbI82fPGX5yvYraRjFsOTxak75Ap/zT4Y1rKM1DfOOamB24jUxd7imUuFgLjFhrNmDv9ykxes57O3uA==","signatures":[{"sig":"MEYCIQDmdcrPBV4cwTHZc3wBde62hc4jaQ2wfte7J8DIOQ6jKAIhAPIKvW84jxdlRP7mt1r1N2OoV/OLBqsi9nDUPt7DO3GP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC2EvlcCWJj68bN8hTUEyciVYvfCRLKj/IZh4JwcHK2rwIgCEQ2HlT2LYoiDwK/Q5qcU1BknRsllytIRrF/dalafXA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1503189},"main":"watr.js","name":"watr","type":"module","types":"types/watr.d.ts","author":{"name":"Dmitry Iv"},"exports":{".":{"types":"./types/watr.d.ts","default":"./watr.js"},"./dist":"./dist/watr.js","./parse":{"types":"./types/src/parse.d.ts","default":"./src/parse.js"},"./print":{"types":"./types/src/print.d.ts","default":"./src/print.js"},"./compile":{"types":"./types/src/compile.d.ts","default":"./src/compile.js"},"./optimize":{"types":"./types/src/optimize.d.ts","default":"./src/optimize.js"},"./polyfill":{"types":"./types/src/polyfill.d.ts","default":"./src/polyfill.js"},"./dist/watr.wasm":"./dist/watr.wasm","./dist/watr.min.js":"./dist/watr.min.js"},"gitHead":"48cb00ff8f3a56dbd260a2d0cc1da2d22b191ff1","license":"MIT","scripts":{"test":"node test && npm run test:propagate && npm run test:spec","build":"npm run build:js && npm run build:wasm","types":"npx tsc src/*.js watr.js --allowJs --declaration --emitDeclarationOnly --declarationMap --outDir types","prepare":"git submodule update --init --recursive 2>/dev/null || true","build:js":"esbuild watr.js --bundle --format=esm --outfile=dist/watr.js && esbuild watr.js --bundle --format=esm --minify --outfile=dist/watr.min.js","ci:passed":"git diff-index --quiet HEAD --ignore-submodules && gh run list --commit $(git rev-parse HEAD) --event push --json conclusion --jq 'length > 0 and all(.[]; .conclusion == \"success\")' | grep -qx true || (echo 'not published: CI has not passed for this commit, or the tree differs from it' >&2; exit 1)","test:repl":"npx playwright test","test:spec":"node test/testsuite.js","test:wasm":"WATR_WASM=1 npm test","build:wasm":"node ${JZ_ROOT:-node_modules/jz}/cli.js watr.js -O3 --memory 4096 -o dist/watr.wasm","prepublishOnly":"npm run ci:passed && npm run build && npm run types","test:propagate":"node --experimental-wasm-exnref --test test/propagate-locals.js"},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"homepage":"https://dy.github.io/watr/","keywords":["wat","wasm","webassembly","compiler","wat2wasm","wabt","wast","parser","printer","formatter","bytecode","binary","text-format","s-expression","assembly","jit","codegen","zero-dependency"],"repository":{"url":"git+https://github.com/dy/watr.git","type":"git"},"_npmVersion":"11.12.1","description":"wat2wasm in JS: compile WebAssembly text (WAT) to wasm binary. Parse, print, minify, optimize. Zero deps.","directories":{},"maintainers":[{"name":"dy","email":"df.creative@gmail.com"}],"_nodeVersion":"25.9.0","typesVersions":{"*":{"parse":["./types/src/parse.d.ts"],"print":["./types/src/print.d.ts"],"compile":["./types/src/compile.d.ts"],"optimize":["./types/src/optimize.d.ts"],"polyfill":["./types/src/polyfill.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"jz":"https://codeload.github.com/dy/jz/tar.gz/1307e776425060cb54f76c77a1bbf63b59c41cf8","tst":"^9.0.0","esbuild":"^0.28.2","@playwright/test":"^1.57.0"},"_npmOperationalInternal":{"tmp":"tmp/watr_5.13.8_1795112327533_0.4390287269255696","host":"s3://npm-registry-packages-npm-production"},"_id":"watr@5.13.8","version":"5.13.8"}