New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/readline-transform

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/readline-transform

TypeScript definitions for readline-transform

ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
ts6.0
latest
Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
4K
-34.39%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/readline-transform

Summary

This package contains type definitions for readline-transform (https://github.com/tilfin/readline-transform).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/readline-transform.

index.d.ts

/// <reference types="node" />

import { Transform, TransformOptions } from "stream";

declare namespace ReadlineTransform {
    interface ReadlineTransformOptions extends TransformOptions {
        /**
         * line break matcher for str.split()
         * @default /\r?\n/
         */
        breakMatcher?: RegExp | undefined;

        /**
         * if content ends with line break, ignore last empty line
         * @default true
         */

        ignoreEndOfBreak?: boolean | undefined;
        /**
         * if line is empty string, skip it
         * @default false
         */
        skipEmpty?: boolean | undefined;
    }
}

declare class ReadlineTransform extends Transform {
    constructor(options?: ReadlineTransform.ReadlineTransformOptions);

    static default: typeof ReadlineTransform;
}

export = ReadlineTransform;

Additional Details

  • Last updated: Mon, 11 Nov 2024 18:36:31 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Piotr Roszatycki.

FAQs

Package last updated on 11 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts