Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "it-ndjson", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Parse iterators as ndjson and transform iterators to ndjson", | ||
@@ -15,6 +15,2 @@ "author": "Alex Potsides <alex@achingbrain.net>", | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0", | ||
"npm": ">=7.0.0" | ||
}, | ||
"type": "module", | ||
@@ -139,3 +135,3 @@ "types": "./dist/src/index.d.ts", | ||
"devDependencies": { | ||
"aegir": "^39.0.2", | ||
"aegir": "^40.0.11", | ||
"buffer": "^6.0.3", | ||
@@ -142,0 +138,0 @@ "it-all": "^3.0.0" |
@@ -1,3 +0,2 @@ | ||
export { default as parse } from './parse.js' | ||
export { default as stringify } from './stringify.js' |
@@ -1,2 +0,1 @@ | ||
export default async function * parse <T> (source: AsyncIterable<Uint8Array | string> | Iterable<Uint8Array | string>): AsyncGenerator<T, void, undefined> { | ||
@@ -3,0 +2,0 @@ const matcher = /\r?\n/ |
@@ -1,2 +0,1 @@ | ||
export default async function * stringify (source: AsyncIterable<any> | Iterable<any>): AsyncGenerator<string, void, undefined> { | ||
@@ -3,0 +2,0 @@ for await (const obj of source) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10911