{"_id":"@eddiethedean/dtcs-wasm","_rev":"3-43ce501ff45ef465cbc4c843614750b9","name":"@eddiethedean/dtcs-wasm","dist-tags":{"latest":"0.13.0"},"versions":{"0.11.0":{"name":"@eddiethedean/dtcs-wasm","version":"0.11.0","keywords":["dtcs","wasm","data-transformation"],"license":"Apache-2.0","_id":"@eddiethedean/dtcs-wasm@0.11.0","maintainers":[{"name":"eddiethedean","email":"odosmatthews@gmail.com"}],"homepage":"https://github.com/eddiethedean/dtcs#readme","bugs":{"url":"https://github.com/eddiethedean/dtcs/issues"},"dist":{"shasum":"01dc5fd907e5beca442c110412b5d05add05051e","tarball":"https://registry.npmjs.org/@eddiethedean/dtcs-wasm/-/dtcs-wasm-0.11.0.tgz","fileCount":8,"integrity":"sha512-Awc4sy2YR4guxseH1t4IyzfMjSvOkyOolJT923Rjq8n8zTENzNBy8/j7FznkGJN5HZXiWutNUiRk+Svd0z9fAw==","signatures":[{"sig":"MEQCIH+8e5Ti4BU8lbZ/z6RJZEYCawceGE7jvpxR6wBmkipzAiBCeZ2/6AHiKvLdQ4cmQug39jawKbpkG5GPpdowgOwuPQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":884649},"main":"pkg/dtcs_wasm.js","type":"module","types":"pkg/dtcs_wasm.d.ts","gitHead":"db5b618fe17512b9ae3fed46b3b5c30aa4ee3af9","scripts":{"test":"node --test test/smoke.test.mjs","build":"wasm-pack build --target web --out-dir pkg && rm -f pkg/.gitignore"},"_npmUser":{"name":"eddiethedean","email":"odosmatthews@gmail.com"},"repository":{"url":"git+https://github.com/eddiethedean/dtcs.git","type":"git","directory":"bindings/wasm"},"_npmVersion":"10.8.2","description":"WebAssembly bindings for the DTCS reference implementation","directories":{},"sideEffects":["pkg/dtcs_wasm.js"],"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dtcs-wasm_0.11.0_1784079725703_0.6114358284751649","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@eddiethedean/dtcs-wasm","version":"0.12.0","keywords":["dtcs","wasm","data-transformation"],"license":"Apache-2.0","_id":"@eddiethedean/dtcs-wasm@0.12.0","maintainers":[{"name":"eddiethedean","email":"odosmatthews@gmail.com"}],"homepage":"https://github.com/eddiethedean/dtcs#readme","bugs":{"url":"https://github.com/eddiethedean/dtcs/issues"},"dist":{"shasum":"7c8ad4f543e6cb425d3982d3a4e00010a7aa4acd","tarball":"https://registry.npmjs.org/@eddiethedean/dtcs-wasm/-/dtcs-wasm-0.12.0.tgz","fileCount":8,"integrity":"sha512-zAzAYf8G9N71sBeAgUW7jojof74IN0gtrXmN6e3alLlxNCGXCvovjnyND2J+HoHym22ZmAhYpmOaGE74RH6Hrg==","signatures":[{"sig":"MEQCIDafFSzkqpakPUY4ExwWHEApR/J5393PbgYDAPOuLhpfAiBbro+KoZr/7T3G5XPVlRfPMVsr4SU2V6tpM9g0cgOH7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":917949},"main":"pkg/dtcs_wasm.js","type":"module","types":"pkg/dtcs_wasm.d.ts","gitHead":"63295ac6036e2827b0f0ce4bb7e821bfda48baea","scripts":{"test":"node --test test/smoke.test.mjs","build":"wasm-pack build --target web --out-dir pkg && rm -f pkg/.gitignore"},"_npmUser":{"name":"eddiethedean","email":"odosmatthews@gmail.com"},"repository":{"url":"git+https://github.com/eddiethedean/dtcs.git","type":"git","directory":"bindings/wasm"},"_npmVersion":"10.8.2","description":"WebAssembly bindings for the DTCS reference implementation","directories":{},"sideEffects":["pkg/dtcs_wasm.js"],"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dtcs-wasm_0.12.0_1784305385620_0.29385170419072004","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@eddiethedean/dtcs-wasm","version":"0.13.0","description":"WebAssembly bindings for the DTCS reference implementation","type":"module","main":"pkg/dtcs_wasm.js","types":"pkg/dtcs_wasm.d.ts","sideEffects":["pkg/dtcs_wasm.js"],"scripts":{"build":"wasm-pack build --target web --out-dir pkg && rm -f pkg/.gitignore","test":"node --test test/smoke.test.mjs"},"keywords":["dtcs","wasm","data-transformation"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/eddiethedean/dtcs.git","directory":"bindings/wasm"},"_id":"@eddiethedean/dtcs-wasm@0.13.0","gitHead":"845d300c05f8490caa04efbdb544a08301007282","bugs":{"url":"https://github.com/eddiethedean/dtcs/issues"},"homepage":"https://github.com/eddiethedean/dtcs#readme","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-HbBlnlEq7kWex3MpQyoMd0wHGNGiYgaXviSfOLQCsjzYofC8GWHyzmZ28JmPZV7v/BJZj4iTzrUmf7RZD2KZlQ==","shasum":"8ddb9279da000a421128193922b0055da36e5a1a","tarball":"https://registry.npmjs.org/@eddiethedean/dtcs-wasm/-/dtcs-wasm-0.13.0.tgz","fileCount":8,"unpackedSize":957179,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDsVoQtpVPkPWrWo6/nTm/R5c1XXwubbsrPx06sblwVMAIhALo0/qmfwkihHY8dkXu1sfOxFuOdj43tJ1WoKydLmheL"}]},"_npmUser":{"name":"eddiethedean","email":"odosmatthews@gmail.com"},"directories":{},"maintainers":[{"name":"eddiethedean","email":"odosmatthews@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dtcs-wasm_0.13.0_1784318344161_0.4774114218654715"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-15T01:42:05.237Z","modified":"2026-07-17T19:59:04.482Z","0.11.0":"2026-07-15T01:42:05.900Z","0.12.0":"2026-07-17T16:23:05.892Z","0.13.0":"2026-07-17T19:59:04.354Z"},"bugs":{"url":"https://github.com/eddiethedean/dtcs/issues"},"license":"Apache-2.0","homepage":"https://github.com/eddiethedean/dtcs#readme","keywords":["dtcs","wasm","data-transformation"],"repository":{"type":"git","url":"git+https://github.com/eddiethedean/dtcs.git","directory":"bindings/wasm"},"description":"WebAssembly bindings for the DTCS reference implementation","maintainers":[{"name":"eddiethedean","email":"odosmatthews@gmail.com"}],"readme":"# @eddiethedean/dtcs-wasm\n\nWebAssembly bindings for the DTCS reference implementation (tools `0.13.x` / Spec `3.0.0`).\n\n**Maturity:** experimental. Prefer `npm install @eddiethedean/dtcs-wasm@0.13.0`.\n\n## Build\n\n```bash\nrustup target add wasm32-unknown-unknown\ncargo install wasm-pack\nnpm run build\n```\n\n## API\n\nCall `initSync({ module })` with the `.wasm` bytes before other exports.\n\n- `parseDocument(content: Uint8Array | string, format: \"yaml\" | \"json\")`\n- `validateContract(contract: object)`\n- `conformanceDeclare(profile?: string)`\n- `specVersion()` → `\"3.0.0\"`\n\nNested values may deserialize as ES `Map` — coerce to plain objects before using property access.\n\nFull offline `conformanceRun` is not included in WASM builds due to binary size; use the Rust CLI or Python package for certification runs.\n\nDocs: [docs/api/wasm.md](https://github.com/eddiethedean/dtcs/blob/main/docs/api/wasm.md). Prefer the Node wrapper [`@eddiethedean/dtcs`](../node/) for automatic WASM init.\n","readmeFilename":"README.md"}