line-async-iterator
Advanced tools
Comparing version 3.0.0 to 5.0.0
@@ -5,2 +5,2 @@ /// <reference types="node" /> | ||
import { Readable } from 'stream'; | ||
export default function createLineIterator(stream: Readable | tty.ReadStream): AsyncGenerator<string, void, unknown>; | ||
export declare function createLineIterator(stream: Readable | tty.ReadStream): AsyncGenerator<string, void, unknown>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createLineIterator = void 0; | ||
async function* createLineIterator(stream) { | ||
@@ -16,3 +17,3 @@ let leftover = ''; | ||
} | ||
exports.default = createLineIterator; | ||
exports.createLineIterator = createLineIterator; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "line-async-iterator", | ||
"version": "3.0.0", | ||
"version": "5.0.0", | ||
"description": "Async Iterator for every line of a Readable Stream", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import tty from 'tty'; | ||
import { Readable } from 'stream'; | ||
export default async function* createLineIterator( | ||
export async function* createLineIterator( | ||
stream: Readable | tty.ReadStream | ||
@@ -6,0 +6,0 @@ ) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3700
72