{"_id":"@conmoong/tsc-p-wasi","name":"@conmoong/tsc-p-wasi","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@conmoong/tsc-p-wasi","version":"0.1.0","description":"Universal WASI fallback for tsc-p: runs the compiler as a WebAssembly module via Node's built-in node:wasi, for any platform not covered by tsc-p's native per-platform packages. Not installed automatically — see the root tsc-p package's README for when an","keywords":["typescript","compiler","wasm","wasi","tsc"],"homepage":"https://github.com/conmoong/tsc-p","bugs":{"url":"https://github.com/conmoong/tsc-p/issues"},"repository":{"type":"git","url":"git+https://github.com/conmoong/tsc-p.git"},"license":"Apache-2.0","type":"module","bin":{"tsc-p-wasi":"bin/tsc-p-wasi"},"exports":{"./package.json":"./package.json",".":"./lib/run.mjs"},"preferUnplugged":true,"publishConfig":{"access":"public"},"engines":{"node":">=20.19"},"_id":"@conmoong/tsc-p-wasi@0.1.0","_integrity":"sha512-7IApXm1qZzMLWIrj5LeVPNQLn6NL3I0i5TT7LHyA9wMxjAziKMXP9leKtiP0En5EogOyipsCn14RHQypEerD2g==","_resolved":"/Users/julielam/Dropbox/projects/tsc-p/built/tscp/packages/conmoong-tsc-p-wasi-0.1.0.tgz","_from":"file:/Users/julielam/Dropbox/projects/tsc-p/built/tscp/packages/conmoong-tsc-p-wasi-0.1.0.tgz","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-7IApXm1qZzMLWIrj5LeVPNQLn6NL3I0i5TT7LHyA9wMxjAziKMXP9leKtiP0En5EogOyipsCn14RHQypEerD2g==","shasum":"c180bdb1a43683bb72ceb7b92b87aa6660d267a6","tarball":"https://registry.npmjs.org/@conmoong/tsc-p-wasi/-/tsc-p-wasi-0.1.0.tgz","fileCount":116,"unpackedSize":53732312,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCDxVJutOOV9vZHGzGMp/NXb+aLn5IkcYsQftxSBsXhGgIhAII7y1URdBbijM4GuvrofHeUVc81J7jn956OYELx5xTe"}]},"_npmUser":{"name":"vickvu","email":"me@vick.vu"},"directories":{},"maintainers":[{"name":"vickvu","email":"me@vick.vu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tsc-p-wasi_0.1.0_1787113456177_0.09667082501371604"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-19T04:24:15.911Z","0.1.0":"2026-08-19T04:24:16.500Z","modified":"2026-08-19T04:24:16.913Z"},"maintainers":[{"name":"vickvu","email":"me@vick.vu"}],"description":"Universal WASI fallback for tsc-p: runs the compiler as a WebAssembly module via Node's built-in node:wasi, for any platform not covered by tsc-p's native per-platform packages. Not installed automatically — see the root tsc-p package's README for when an","homepage":"https://github.com/conmoong/tsc-p","keywords":["typescript","compiler","wasm","wasi","tsc"],"repository":{"type":"git","url":"git+https://github.com/conmoong/tsc-p.git"},"bugs":{"url":"https://github.com/conmoong/tsc-p/issues"},"license":"Apache-2.0","readme":"# @conmoong/tsc-p-wasi\n\n> **tsc-p is an unofficial downstream fork of\n> [microsoft/typescript-go](https://github.com/microsoft/typescript-go)\n> (TypeScript 7). It is not affiliated with, maintained by, or endorsed by\n> Microsoft.**\n\nThe universal fallback for platforms tsc-p's native binaries don't cover\n(macOS, Linux and Windows on arm64/x64). This package runs tsc-p as a\nWebAssembly module (`wasip1`/`wasm`) via Node's built-in `node:wasi` —\n**no separate WASI runtime (wasmtime, wasmer, ...) needs to be\ninstalled**, only the same Node you already need to run `npx`.\n\n## Installation\n\nThis package is **not** installed automatically by `@conmoong/tsc-p`\n— its `optionalDependencies` only ever resolve one of the native\nper-platform packages. Install it explicitly:\n\n```sh\nnpm install --save-dev @conmoong/tsc-p @conmoong/tsc-p-wasi\n```\n\nWith both installed, `@conmoong/tsc-p`'s own `tsc-p` command\nautomatically falls back to this package when your platform doesn't\nmatch any native optionalDependency — no configuration needed.\n\n## Standalone use\n\n```sh\nnpx tsc-p-wasi --version\nnpx tsc-p-wasi -p tsconfig.json\n```\n\nBehaves exactly like the native binary: same CLI, same `tsconfig.json`\nhandling, same exit codes, real filesystem access (WASI preopens are\nconfigured to mirror the host's own filesystem).\n\n## Trade-offs versus the native binary\n\nWebAssembly execution is slower to start (Wasm instantiation + Node's own\nstartup) and the whole runtime — including the TypeScript standard\nlibrary — has to be interpreted/JIT-compiled from a single ~50MB\n`.wasm` file rather than a native executable, so expect noticeably slower\ncold starts on large projects. Prefer a native platform package whenever\none exists for your platform; this package exists specifically for\neverything else.\n\n## Licence\n\nApache-2.0. This package retains the upstream LICENSE and NOTICE.txt.\n","readmeFilename":"README.md","_rev":"1-7bcec366a65b62c89d07dc43f1317cf3"}