{"name":"@tapjs/error-serdes","version":"4.2.0","keywords":["v8","error","serialization","deserialization","serialize","deserialize"],"author":{"url":"https://blog.izs.me","name":"Isaac Z. Schlueter","email":"i@izs.me"},"license":"BlueOak-1.0.0","_id":"@tapjs/error-serdes@4.2.0","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"isaacs","email":"i@izs.me"}],"homepage":"https://github.com/tapjs/tapjs/src/error-serdes#readme","bugs":{"url":"https://github.com/tapjs/tapjs/issues"},"tap":{"fail-skip":true,"fail-todo":true,"typecheck":false,"coverage-map":"map.js"},"dist":{"shasum":"62e77fbfa926cad44f75181364153f7a89b36ada","tarball":"http://registry-npm.ywwl.com/@tapjs/error-serdes/download/@tapjs/error-serdes-4.2.0.tgz","fileCount":61,"integrity":"sha512-tkF6MOvKPtkt1DD2Zr58672vg5s1LfzSUnxwIe8uksEq284KFv4HroMwOUgV9fs/+Jx3wCN3aJpyYURX03MS1g==","signatures":[{"sig":"MEYCIQDoVHhLoGodDbqJL5PKzMs44bkVGVca1LhVlbspV7TcAQIhAIM5RYhLhDDRnPYAiVcf3wWk1QaU0OO6O3P0SxJ/94h/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106139,"size":16992,"noattachment":false,"key":"/@tapjs/error-serdes/-/@tapjs/error-serdes-4.2.0.tgz"},"main":"./dist/commonjs/index.js","tshy":{"main":true,"exports":{".":"./src/index.ts","./des":"./src/deserialize.ts","./ser":"./src/serialize.ts","./package.json":"./package.json","./test-stream-serialize":"./src/test-stream-serialize.ts","./test-stream-deserialize":"./src/test-stream-deserialize.ts"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":"20 || >=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./des":{"import":{"types":"./dist/esm/deserialize.d.ts","default":"./dist/esm/deserialize.js"},"require":{"types":"./dist/commonjs/deserialize.d.ts","default":"./dist/commonjs/deserialize.js"}},"./ser":{"import":{"types":"./dist/esm/serialize.d.ts","default":"./dist/esm/serialize.js"},"require":{"types":"./dist/commonjs/serialize.d.ts","default":"./dist/commonjs/serialize.js"}},"./package.json":"./package.json","./test-stream-serialize":{"import":{"types":"./dist/esm/test-stream-serialize.d.ts","default":"./dist/esm/test-stream-serialize.js"},"require":{"types":"./dist/commonjs/test-stream-serialize.d.ts","default":"./dist/commonjs/test-stream-serialize.js"}},"./test-stream-deserialize":{"import":{"types":"./dist/esm/test-stream-deserialize.d.ts","default":"./dist/esm/test-stream-deserialize.js"},"require":{"types":"./dist/commonjs/test-stream-deserialize.d.ts","default":"./dist/commonjs/test-stream-deserialize.js"}}},"funding":{"url":"https://github.com/sponsors/isaacs"},"gitHead":"2199ab24bdf778a6a8a9ae1341ebb47ef7fda64a","scripts":{"snap":"tap","test":"tap","format":"prettier --write . --log-level warn --ignore-path ../../.prettierignore --cache","prepare":"tshy","presnap":"npm run prepare","pretest":"npm run prepare","typedoc":"typedoc --tsconfig .tshy/esm.json ./src/*.ts"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"repository":{"url":"git+ssh://git@github.com/tapjs/tapjs.git","path":"src/error-serdes","type":"git"},"_npmVersion":"11.6.3","description":"Port of node's error_serdes.js to userland, plus test message streaming","directories":{},"_nodeVersion":"24.4.1","dependencies":{"minipass":"^7.0.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/error-serdes_4.2.0_1764109763283_0.9236844831698034","host":"s3://npm-registry-packages-npm-production"},"readme":"# @tapjs/error-serdes\n\nError serialization/deserialization and `node:test` message\nstream production and consumption.\n\n## `serializeError`\n\nSerialize an error object for passing through a `test:...`\nmessage.\n\n## `deserializeError`\n\nTurn a serialized error message into a JavaScript object.\n\n## `TestStreamSerialize`\n\nCreate a stream of serialized message objects for consumption by\n`node --test`.\n\n## `TestStreamDeserialize`\n\nParse a stream of serialized message objects.\n","publish_time":1764109763482,"_cnpm_publish_time":1764109763482,"dist-tags":{"latest":"4.3.2"}}