{"bugs":{"url":"https://github.com/bytecodealliance/jco/issues"},"dist":{"shasum":"f67d2425dba16455cc9bc2d5425aee2eacd77e1c","tarball":"https://registry.npmjs.org/@bytecodealliance/jco-std/-/jco-std-0.3.0.tgz","fileCount":569,"integrity":"sha512-3q/8fzPwi0UQxL1za6CnqcvZCRkp0MO73MKC3JPpAz9hOzG/rfON3RVubyyamudVR0AXnqkUnY4MkNo5oqCncA==","signatures":[{"sig":"MEUCIQCzP7WXgCR8vFv3S7L+gl9zcTc2kTvyrfzWfC4nH1zNeAIgQPc7sIwOlN/iaXmazSqOund7zySlseajvWPz3nsDaSM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDGJXHjCdrGU+NyXzGEY6dSUN1klJdNaX0pkv5wdEy8iAIhAJm6Pddg4pTj/L8qz3/h9+f3crnru7ooD1PICIO/RpII","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bytecodealliance%2fjco-std@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1568894},"name":"@bytecodealliance/jco-std","type":"module","exports":{"./node/path":{"types":"./dist/wasi/0.2.x/node/24.x.x/path.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/path.js","default":"./dist/wasi/0.2.x/node/24.x.x/path.js"},"./wasi/0.2.x/node/24.x.x/fs":{"types":"./dist/wasi/0.2.x/node/24.x.x/fs.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/fs.js","default":"./dist/wasi/0.2.x/node/24.x.x/fs.js"},"./wasi/0.2.x/node/24.x.x/os":{"types":"./dist/wasi/0.2.x/node/24.x.x/os.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/os.js","default":"./dist/wasi/0.2.x/node/24.x.x/os.js"},"./wasi/0.2.x/node/24.x.x/dns":{"types":"./dist/wasi/0.2.x/node/24.x.x/dns.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/dns.js","default":"./dist/wasi/0.2.x/node/24.x.x/dns.js"},"./wasi/0.2.x/node/26.x.x/ffi":{"types":"./dist/wasi/0.2.x/node/26.x.x/ffi.d.ts","browser":"./dist/wasi/0.2.x/node/26.x.x/ffi.js","default":"./dist/wasi/0.2.x/node/26.x.x/ffi.js"},"./wasi/0.2.x/node/24.x.x/http":{"types":"./dist/wasi/0.2.x/node/24.x.x/http.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http.js","default":"./dist/wasi/0.2.x/node/24.x.x/http.js"},"./wasi/0.2.x/node/24.x.x/path":{"types":"./dist/wasi/0.2.x/node/24.x.x/path.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/path.js","default":"./dist/wasi/0.2.x/node/24.x.x/path.js"},"./wasi/0.2.x/node/24.x.x/http2":{"types":"./dist/wasi/0.2.x/node/24.x.x/http2.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http2.js","default":"./dist/wasi/0.2.x/node/24.x.x/http2.js"},"./wasi/0.2.x/node/24.x.x/assert":{"types":"./dist/wasi/0.2.x/node/24.x.x/assert/index.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/assert/index.js","default":"./dist/wasi/0.2.x/node/24.x.x/assert/index.js"},"./wasi/0.2.x/node/24.x.x/domain":{"types":"./dist/wasi/0.2.x/node/24.x.x/domain.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/domain.js","default":"./dist/wasi/0.2.x/node/24.x.x/domain.js"},"./wasi/0.2.x/node/24.x.x/errors":{"types":"./dist/wasi/0.2.x/node/24.x.x/errors.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/errors.js","default":"./dist/wasi/0.2.x/node/24.x.x/errors.js"},"./wasi/0.2.x/node/24.x.x/events":{"types":"./dist/wasi/0.2.x/node/24.x.x/events.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/events.js","default":"./dist/wasi/0.2.x/node/24.x.x/events.js"},"./wasi/0.2.x/node/24.x.x/module":{"types":"./dist/wasi/0.2.x/node/24.x.x/module.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/module.js","default":"./dist/wasi/0.2.x/node/24.x.x/module.js"},"./wasi/0.2.x/node/24.x.x/cluster":{"types":"./dist/wasi/0.2.x/node/24.x.x/cluster.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/cluster.js","default":"./dist/wasi/0.2.x/node/24.x.x/cluster.js"},"./wasi/0.2.x/node/24.x.x/console":{"types":"./dist/wasi/0.2.x/node/24.x.x/console.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/console.js","default":"./dist/wasi/0.2.x/node/24.x.x/console.js"},"./wasi/0.2.x/node/24.x.x/fs/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/fs-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/fs-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/fs-host.js"},"./wasi/0.2.x/node/24.x.x/os/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/os-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/os-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/os-host.js"},"./wasi/0.2.x/node/24.x.x/dns/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/dns-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/dns-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/dns-host.js"},"./wasi/0.2.x/node/26.x.x/ffi/host":{"types":"./dist/wasi/0.2.x/node/26.x.x/ffi-host.d.ts","browser":"./dist/wasi/0.2.x/node/26.x.x/ffi-host.js","default":"./dist/wasi/0.2.x/node/26.x.x/ffi-host.js"},"./wasi/0.2.x/node/24.x.x/http/core":{"types":"./dist/wasi/0.2.x/node/24.x.x/http/core.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http/core.js","default":"./dist/wasi/0.2.x/node/24.x.x/http/core.js"},"./wasi/0.2.x/node/24.x.x/http/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/http-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/http-host.js"},"./wasi/0.2.x/node/24.x.x/inspector":{"types":"./dist/wasi/0.2.x/node/24.x.x/inspector.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/inspector.js","default":"./dist/wasi/0.2.x/node/24.x.x/inspector.js"},"./wasi/0.2.x/node/24.x.x/http2/core":{"types":"./dist/wasi/0.2.x/node/24.x.x/http2/core.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http2/core.js","default":"./dist/wasi/0.2.x/node/24.x.x/http2/core.js"},"./wasi/0.2.x/node/24.x.x/http2/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/http2-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http2-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/http2-host.js"},"./wasi/0.2.x/node/24.x.x/async-hooks":{"types":"./dist/wasi/0.2.x/node/24.x.x/async-hooks.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/async-hooks.js","default":"./dist/wasi/0.2.x/node/24.x.x/async-hooks.js"},"./wasi/0.2.x/node/24.x.x/fs/promises":{"types":"./dist/wasi/0.2.x/node/24.x.x/fs-promises.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/fs-promises.js","default":"./dist/wasi/0.2.x/node/24.x.x/fs-promises.js"},"./wasi/0.2.x/node/24.x.x/stream/iter":{"types":"./dist/wasi/0.2.x/node/24.x.x/stream/iter/index.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/stream/iter/index.js","default":"./dist/wasi/0.2.x/node/24.x.x/stream/iter/index.js"},"./wasi/0.2.x/node/24.x.x/cluster/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/cluster-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/cluster-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/cluster-host.js"},"./wasi/0.2.x/node/24.x.x/console/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/console-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/console-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/console-host.js"},"./wasi/0.2.x/node/24.x.x/dns/promises":{"types":"./dist/wasi/0.2.x/node/24.x.x/dns-promises.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/dns-promises.js","default":"./dist/wasi/0.2.x/node/24.x.x/dns-promises.js"},"./wasi/0.2.x/node/24.x.x/fs/host/node":{"node":"./dist/wasi/0.2.x/node/24.x.x/fs-host-node.js","types":"./dist/wasi/0.2.x/node/24.x.x/fs-host-node.d.ts"},"./wasi/0.2.x/node/24.x.x/os/host/node":{"node":"./dist/wasi/0.2.x/node/24.x.x/os-host-node.js","types":"./dist/wasi/0.2.x/node/24.x.x/os-host-node.d.ts"},"./wasi/0.2.3/http/adapters/hono/server":{"types":"./dist/wasi/0.2.3/http/adapters/hono/server.d.ts","browser":"./dist/wasi/0.2.3/http/adapters/hono/server.js","default":"./dist/wasi/0.2.3/http/adapters/hono/server.js"},"./wasi/0.2.6/http/adapters/hono/server":{"types":"./dist/wasi/0.2.6/http/adapters/hono/server.d.ts","browser":"./dist/wasi/0.2.6/http/adapters/hono/server.js","default":"./dist/wasi/0.2.6/http/adapters/hono/server.js"},"./wasi/0.2.x/http/adapters/hono/server":{"types":"./dist/wasi/0.2.12/http/adapters/hono/server.d.ts","browser":"./dist/wasi/0.2.12/http/adapters/hono/server.js","default":"./dist/wasi/0.2.12/http/adapters/hono/server.js"},"./wasi/0.2.x/node/24.x.x/child-process":{"types":"./dist/wasi/0.2.x/node/24.x.x/child-process.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/child-process.js","default":"./dist/wasi/0.2.x/node/24.x.x/child-process.js"},"./wasi/0.2.x/node/24.x.x/dns/host/node":{"node":"./dist/wasi/0.2.x/node/24.x.x/dns-host-node.js","types":"./dist/wasi/0.2.x/node/24.x.x/dns-host-node.d.ts"},"./wasi/0.2.x/node/26.x.x/ffi/host/node":{"node":"./dist/wasi/0.2.x/node/26.x.x/ffi-host-node.js","types":"./dist/wasi/0.2.x/node/26.x.x/ffi-host-node.d.ts"},"./wasi/0.2.12/http/adapters/hono/server":{"types":"./dist/wasi/0.2.12/http/adapters/hono/server.d.ts","browser":"./dist/wasi/0.2.12/http/adapters/hono/server.js","default":"./dist/wasi/0.2.12/http/adapters/hono/server.js"},"./wasi/0.2.x/node/24.x.x/http/host/node":{"node":"./dist/wasi/0.2.x/node/24.x.x/http-host-node.js","types":"./dist/wasi/0.2.x/node/24.x.x/http-host-node.d.ts"},"./wasi/0.2.x/node/24.x.x/inspector/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/inspector-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/inspector-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/inspector-host.js"},"./wasi/0.2.x/node/24.x.x/string-decoder":{"types":"./dist/wasi/0.2.x/node/24.x.x/string-decoder.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/string-decoder.js","default":"./dist/wasi/0.2.x/node/24.x.x/string-decoder.js"},"./wasi/0.2.x/node/24.x.x/http2/host/node":{"node":"./dist/wasi/0.2.x/node/24.x.x/http2-host-node.js","types":"./dist/wasi/0.2.x/node/24.x.x/http2-host-node.d.ts"},"./wasi/0.2.x/node/24.x.x/stream/consumers":{"types":"./dist/wasi/0.2.x/node/24.x.x/stream/consumers.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/stream/consumers.js","default":"./dist/wasi/0.2.x/node/24.x.x/stream/consumers.js"},"./wasi/0.2.x/node/24.x.x/cluster/host/node":{"types":"./dist/wasi/0.2.x/node/24.x.x/cluster-host-node.d.ts","default":"./dist/wasi/0.2.x/node/24.x.x/cluster-host-node.js"},"./wasi/0.2.x/node/24.x.x/console/host/node":{"node":"./dist/wasi/0.2.x/node/24.x.x/console-host-node.js","types":"./dist/wasi/0.2.x/node/24.x.x/console-host-node.d.ts"},"./wasi/0.2.x/node/24.x.x/http2/impl/direct":{"types":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/direct/index.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/direct/index.js","default":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/direct/index.js"},"./wasi/0.2.x/node/24.x.x/child-process/host":{"types":"./dist/wasi/0.2.x/node/24.x.x/child-process-host.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/child-process-host.js","default":"./dist/wasi/0.2.x/node/24.x.x/child-process-host.js"},"./wasi/0.2.x/node/24.x.x/inspector/promises":{"types":"./dist/wasi/0.2.x/node/24.x.x/inspector-promises.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/inspector-promises.js","default":"./dist/wasi/0.2.x/node/24.x.x/inspector-promises.js"},"./wasi/0.2.x/node/24.x.x/diagnostics-channel":{"types":"./dist/wasi/0.2.x/node/24.x.x/diagnostics-channel.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/diagnostics-channel.js","default":"./dist/wasi/0.2.x/node/24.x.x/diagnostics-channel.js"},"./wasi/0.2.x/node/24.x.x/http/impl/wasi-http":{"types":"./dist/wasi/0.2.x/node/24.x.x/http/impl/wasi-http.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http/impl/wasi-http.js","default":"./dist/wasi/0.2.x/node/24.x.x/http/impl/wasi-http.js"},"./wasi/0.2.x/node/24.x.x/inspector/host/node":{"node":"./dist/wasi/0.2.x/node/24.x.x/inspector-host-node.js","types":"./dist/wasi/0.2.x/node/24.x.x/inspector-host-node.d.ts"},"./wasi/0.2.x/node/24.x.x/http2/impl/wasi-http":{"types":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/wasi-http/index.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/wasi-http/index.js","default":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/wasi-http/index.js"},"./wasi/0.2.3/http/adapters/hono/middleware/env":{"types":"./dist/wasi/0.2.3/http/adapters/hono/middleware/env.d.ts","browser":"./dist/wasi/0.2.3/http/adapters/hono/middleware/env.js","default":"./dist/wasi/0.2.3/http/adapters/hono/middleware/env.js"},"./wasi/0.2.6/http/adapters/hono/middleware/env":{"types":"./dist/wasi/0.2.6/http/adapters/hono/middleware/env.d.ts","browser":"./dist/wasi/0.2.6/http/adapters/hono/middleware/env.js","default":"./dist/wasi/0.2.6/http/adapters/hono/middleware/env.js"},"./wasi/0.2.x/http/adapters/hono/middleware/env":{"types":"./dist/wasi/0.2.12/http/adapters/hono/middleware/env.d.ts","browser":"./dist/wasi/0.2.12/http/adapters/hono/middleware/env.js","default":"./dist/wasi/0.2.12/http/adapters/hono/middleware/env.js"},"./wasi/0.2.12/http/adapters/hono/middleware/env":{"types":"./dist/wasi/0.2.12/http/adapters/hono/middleware/env.d.ts","browser":"./dist/wasi/0.2.12/http/adapters/hono/middleware/env.js","default":"./dist/wasi/0.2.12/http/adapters/hono/middleware/env.js"},"./wasi/0.2.x/node/24.x.x/http/impl/wasi-sockets":{"types":"./dist/wasi/0.2.x/node/24.x.x/http/impl/wasi-sockets.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http/impl/wasi-sockets.js","default":"./dist/wasi/0.2.x/node/24.x.x/http/impl/wasi-sockets.js"},"./wasi/0.2.x/node/24.x.x/child-process/host/node":{"node":"./dist/wasi/0.2.x/node/24.x.x/child-process-host-node.js","types":"./dist/wasi/0.2.x/node/24.x.x/child-process-host-node.d.ts"},"./wasi/0.2.x/node/24.x.x/http2/impl/wasi-sockets":{"types":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/wasi-sockets/index.d.ts","browser":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/wasi-sockets/index.js","default":"./dist/wasi/0.2.x/node/24.x.x/http2/impl/wasi-sockets/index.js"},"./wasi/0.2.3/http/adapters/hono/middleware/config":{"types":"./dist/wasi/0.2.3/http/adapters/hono/middleware/config.d.ts","browser":"./dist/wasi/0.2.3/http/adapters/hono/middleware/config.js","default":"./dist/wasi/0.2.3/http/adapters/hono/middleware/config.js"},"./wasi/0.2.6/http/adapters/hono/middleware/config":{"types":"./dist/wasi/0.2.6/http/adapters/hono/middleware/config.d.ts","browser":"./dist/wasi/0.2.6/http/adapters/hono/middleware/config.js","default":"./dist/wasi/0.2.6/http/adapters/hono/middleware/config.js"},"./wasi/0.2.x/http/adapters/hono/middleware/config":{"types":"./dist/wasi/0.2.12/http/adapters/hono/middleware/config.d.ts","browser":"./dist/wasi/0.2.12/http/adapters/hono/middleware/config.js","default":"./dist/wasi/0.2.12/http/adapters/hono/middleware/config.js"},"./wasi/0.2.12/http/adapters/hono/middleware/config":{"types":"./dist/wasi/0.2.12/http/adapters/hono/middleware/config.d.ts","browser":"./dist/wasi/0.2.12/http/adapters/hono/middleware/config.js","default":"./dist/wasi/0.2.12/http/adapters/hono/middleware/config.js"}},"license":"(Apache-2.0 WITH LLVM-exception)","scripts":{"fmt":"oxfmt","lint":"oxlint","test":"vitest run -c test/vitest.ts","build":"pnpm run setup:jco-transpile:build && pnpm run build:bindings && pnpm run build:ts","build:ts":"tsc","lint:fix":"oxlint --fix","fmt:check":"oxfmt --check","build:bindings":"pnpm run build:bindings:wasi:http:0.2.3 && pnpm run build:bindings:wasi:http:0.2.6 && pnpm run build:bindings:wasi:http:0.2.12","setup:jco-transpile:build":"pnpm run --filter '@bytecodealliance/jco-transpile' build","build:bindings:wasi:http:0.2.3":"WIT_PATH=wit/http-v0m2p3 OUTPUT_DIR_PATH=src/wasi/0.2.3/generated/types node scripts/generate-wasi-bindings.mjs","build:bindings:wasi:http:0.2.6":"WIT_PATH=wit/http-v0m2p6 OUTPUT_DIR_PATH=src/wasi/0.2.6/generated/types node scripts/generate-wasi-bindings.mjs","build:bindings:wasi:http:0.2.12":"WIT_PATH=wit/http-v0m2p12 OUTPUT_DIR_PATH=src/wasi/0.2.12/generated/types node scripts/generate-wasi-bindings.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:39af3a6d-7b80-4bdf-b62e-c3eb26d636a3"}},"homepage":"https://github.com/bytecodealliance/jco#readme","keywords":["Component","Wasm","WebAssembly"],"repository":{"url":"git+https://github.com/bytecodealliance/jco.git","type":"git"},"description":"Library of shared functionality for use with the JS WebAssembly components","directories":{},"maintainers":[{"name":"tschneidereit","email":"till@tillschneidereit.net"},{"name":"cfallin","email":"chris@cfallin.org"},{"name":"guybedford","email":"guybedford@gmail.com"},{"name":"vados","email":"vados@vadosware.io"}],"_nodeVersion":"24.20.0","contributors":[{"name":"Victor Adossi","email":"vadossi@cosmonic.com"}],"dependencies":{"minimatch":"10.2.6"},"_hasShrinkwrap":false,"devDependencies":{"hono":"^4.12.34","which":"^5.0.0","vitest":"^4.0.8","rolldown":"^1.0.0-beta.46","typescript":"7.0.2","@types/node":"^24.12.4","@types/which":"^3.0.4","@bytecodealliance/jco-transpile":"^0.13.0","@bytecodealliance/preview2-shim":"^0.24.1","@bytecodealliance/componentize-js":"^0.22.0","@bytecodealliance/componentize-js-0-19-3":"npm:@bytecodealliance/componentize-js@^0.19.3"},"_npmOperationalInternal":{"tmp":"tmp/jco-std_0.3.0_1788844317503_0.3810581658017822","host":"s3://npm-registry-packages-npm-production"},"_id":"@bytecodealliance/jco-std@0.3.0","version":"0.3.0"}