+
+
+## Install
+
+To install datastream you can use NPM:
+
+```bash
+npm install --save @datastream/json
+```
+
+
+## Documentation and examples
+
+For documentation and examples, refer to the main [datastream monorepo on GitHub](https://github.com/willfarrell/datastream) or [datastream official website](https://datastream.js.org).
+
+
+## Contributing
+
+Everyone is very welcome to contribute to this repository. Feel free to [raise issues](https://github.com/willfarrell/datastream/issues) or to [submit Pull Requests](https://github.com/willfarrell/datastream/pulls).
+
+
+## License
+
+Licensed under [MIT License](LICENSE). Copyright (c) 2026 [will Farrell](https://github.com/willfarrell), and [datastream contributors](https://github.com/willfarrell/datastream/graphs/contributors).
diff --git a/packages/json/index.d.ts b/packages/json/index.d.ts
index ee5fc0a..e223ced 100644
--- a/packages/json/index.d.ts
+++ b/packages/json/index.d.ts
@@ -1,6 +1,10 @@
// Copyright 2026 will Farrell, and datastream contributors.
// SPDX-License-Identifier: MIT
-import type { StreamOptions, StreamResult } from "@datastream/core";
+import type {
+ DatastreamTransform,
+ StreamOptions,
+ StreamResult,
+} from "@datastream/core";
export interface JsonError {
id: string;
@@ -14,7 +18,7 @@ export function ndjsonParseStream(
resultKey?: string;
},
streamOptions?: StreamOptions,
-): unknown & {
+): DatastreamTransform