{"_id":"@eddiethedean/dtcs","_rev":"3-ac4e2c2e6582b6a14cadf86003168502","name":"@eddiethedean/dtcs","dist-tags":{"latest":"0.13.0"},"versions":{"0.11.0":{"name":"@eddiethedean/dtcs","version":"0.11.0","keywords":["dtcs","data-transformation"],"license":"Apache-2.0","_id":"@eddiethedean/dtcs@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":"ed1a7cdac6f8e640c4a901bbd2d56f4997533e90","tarball":"https://registry.npmjs.org/@eddiethedean/dtcs/-/dtcs-0.11.0.tgz","fileCount":3,"integrity":"sha512-HANa46plbzl4c0UcIPStixo1NHcHQKkEc6Izy5Pb4ACZJjBmTpsU6jH+1ShiEsVyW3q9VmsqWLUdLOlK+O591Q==","signatures":[{"sig":"MEYCIQCaaWfVzLFAikRQUExMETajUSQc/FvSIGk2tTZRZLd6/AIhAKBXf8EyK8AbYZGZC1dB0eV488SS1UHMm5oXghTiik+E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2293},"main":"index.js","type":"module","gitHead":"db5b618fe17512b9ae3fed46b3b5c30aa4ee3af9","scripts":{"test":"node --test test/smoke.test.mjs"},"_npmUser":{"name":"eddiethedean","email":"odosmatthews@gmail.com"},"repository":{"url":"git+https://github.com/eddiethedean/dtcs.git","type":"git","directory":"bindings/node"},"_npmVersion":"10.8.2","description":"Node.js bindings for DTCS (WebAssembly wrapper)","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@eddiethedean/dtcs-wasm":"0.11.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dtcs_0.11.0_1784079727646_0.34073493953769707","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@eddiethedean/dtcs","version":"0.12.0","keywords":["dtcs","data-transformation"],"license":"Apache-2.0","_id":"@eddiethedean/dtcs@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":"7f446fa0007a99d20a7d48759459947432ef44fe","tarball":"https://registry.npmjs.org/@eddiethedean/dtcs/-/dtcs-0.12.0.tgz","fileCount":3,"integrity":"sha512-peon57m+K6lbNHLcrKZVixhp9sLDL8gvktGk7+6E7t6YCowOY0tUGOy9ubUqeCSymwD6b/TslXMtejDu48HUIQ==","signatures":[{"sig":"MEQCIGa/XmdZxzccRncILza+fGPzAF5EiZYTsfP+Jb3UfSJiAiBL7LlNaOYJVokfcl53vT+C3Ssl9gH3intRDHnwCL+f1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2293},"main":"index.js","type":"module","gitHead":"63295ac6036e2827b0f0ce4bb7e821bfda48baea","scripts":{"test":"node --test test/smoke.test.mjs"},"_npmUser":{"name":"eddiethedean","email":"odosmatthews@gmail.com"},"repository":{"url":"git+https://github.com/eddiethedean/dtcs.git","type":"git","directory":"bindings/node"},"_npmVersion":"10.8.2","description":"Node.js bindings for DTCS (WebAssembly wrapper)","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@eddiethedean/dtcs-wasm":"0.12.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dtcs_0.12.0_1784305387114_0.6474119547050736","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@eddiethedean/dtcs","version":"0.13.0","description":"Node.js bindings for DTCS (WebAssembly wrapper)","type":"module","main":"index.js","scripts":{"test":"node --test test/smoke.test.mjs"},"dependencies":{"@eddiethedean/dtcs-wasm":"0.13.0"},"keywords":["dtcs","data-transformation"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/eddiethedean/dtcs.git","directory":"bindings/node"},"_id":"@eddiethedean/dtcs@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-rU788m773Ib0fJR2AIwnmyd/fvT/lsWz14qYDcvwTC990HRv3etIu29fV/MmJ6aIqYw/sP3nxkRFBiczfBtjUA==","shasum":"2125c6a8c410045e68bd4781462a8c7396ef14d8","tarball":"https://registry.npmjs.org/@eddiethedean/dtcs/-/dtcs-0.13.0.tgz","fileCount":3,"unpackedSize":3416,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEBhO4GBg5nmw/R18+/7UraqA5UcZuwruDGT5PS8RXEjAiEAk+mc+vp33nIXuhz8eB4UrLSNSwgtmMTekBR0qh/kohU="}]},"_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_0.13.0_1784318345580_0.6693660320935211"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-15T01:42:07.452Z","modified":"2026-07-17T19:59:05.862Z","0.11.0":"2026-07-15T01:42:07.781Z","0.12.0":"2026-07-17T16:23:07.274Z","0.13.0":"2026-07-17T19:59:05.714Z"},"bugs":{"url":"https://github.com/eddiethedean/dtcs/issues"},"license":"Apache-2.0","homepage":"https://github.com/eddiethedean/dtcs#readme","keywords":["dtcs","data-transformation"],"repository":{"type":"git","url":"git+https://github.com/eddiethedean/dtcs.git","directory":"bindings/node"},"description":"Node.js bindings for DTCS (WebAssembly wrapper)","maintainers":[{"name":"eddiethedean","email":"odosmatthews@gmail.com"}],"readme":"# @eddiethedean/dtcs (Node)\n\nNode.js bindings for DTCS, implemented as a thin wrapper over `@eddiethedean/dtcs-wasm`.\n\n**Maturity:** experimental. Pin both packages to the same tools version.\n\n## Install\n\n```bash\nnpm install @eddiethedean/dtcs@0.13.0 @eddiethedean/dtcs-wasm@0.13.0\n```\n\nRequires Node ESM. Import initializes WASM automatically.\n\n## Usage\n\n```javascript\nimport {\n  parse,\n  validate,\n  conformanceDeclareAll,\n  SPEC_VERSION,\n} from \"@eddiethedean/dtcs\";\n\nconst yaml = `\ndtcsVersion: \"3.0.0\"\nid: \"demo.minimal\"\nname: \"Minimal Demo\"\nversion: \"0.1.0\"\nmetadata:\n  description: \"node demo\"\n  classification: internal\n  governance: { owner: \"docs\", steward: \"docs\" }\n  provenance: { author: \"docs\", createdAt: \"2026-01-01T00:00:00Z\" }\ninputs:\n  - id: \"in\"\n    schema:\n      fields: [{ name: \"v\", type: \"string\", nullable: false }]\noutputs:\n  - id: \"out\"\n    schema:\n      fields: [{ name: \"v\", type: \"string\", nullable: false }]\nlineage:\n  mappings: [{ output: \"out\", inputs: [\"in\"] }]\n`;\n\nconst result = parse(yaml, \"yaml\");\n// serde may return Map — coerce nested Maps to plain objects if needed\nconst report = validate(result.contract);\nconsole.log(SPEC_VERSION, report.diagnostics);\nconst declaration = conformanceDeclareAll();\n```\n\n### Exports\n\n`parseDocument`, `validateContract`, `conformanceDeclare`, `specVersion`, plus aliases `parse`, `validate`, `conformanceDeclareAll`, `SPEC_VERSION`. `conformanceRun` throws (use the Rust CLI / Python package).\n\nOffline `conformanceRun` is not available in this package; use `dtcs conformance run` from the Rust CLI for certification.\n\nFull docs: [docs/api/node.md](https://github.com/eddiethedean/dtcs/blob/main/docs/api/node.md).\n","readmeFilename":"README.md"}