{"bin":{"watr":"bin/watr.js"},"bugs":{"url":"https://github.com/dy/watr/issues"},"dist":{"shasum":"426cef4eee17d63ebcf078f5475466edbdd43699","tarball":"https://registry.npmjs.org/watr/-/watr-5.13.7.tgz","fileCount":37,"integrity":"sha512-vnt7/OTdV5GQvvskTR/FlVyfjHOkxfl7WwJooLZJ6/AtSuq0iY2OaqWO50fzPiqp1huLzifyWMqeXio3RDLqrA==","signatures":[{"sig":"MEYCIQCiJhC3ftXBbuE5bAIDY2Vq5xVwt1bT8MjgeYNswlKrpwIhAP/bKUMlBUTv0uomOO53qGyOo4pO6/mtDlGJZs/IVHG7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCXCuN2y8r4Kin8cUCXeVZYHp50jhUXDqABZ2yyp35MPgIhAPpCAle+unvNorUW+BXfY6UrdCEQOcD+1P7LOVM1I0r6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1496115},"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":"334b6083a767228cd2d8e17578d465faebc90217","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.7_1794800127029_0.7592793388030668","host":"s3://npm-registry-packages-npm-production"},"_id":"watr@5.13.7","version":"5.13.7"}