Noodle Printing Machine

    @types/firstline
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.2 • Public • Published

    Installation

    npm install --save @types/firstline

    Summary

    This package contains type definitions for firstline (https://github.com/pensierinmusica/firstline).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/firstline.

    index.d.ts

    // Type definitions for firstline 2.0
    // Project: https://github.com/pensierinmusica/firstline
    // Definitions by: Emily Klassen <https://github.com/forivall>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    /// <reference types="node" />
    export = firstline;
    
    declare function firstline(filePath: string, opts?: firstline.Options): Promise<string>;
    
    declare namespace firstline {
        interface Options {
            /** @default 'utf8' */
            encoding?: BufferEncoding | undefined;
            /** @default '\n' */
            lineEnding?: string | undefined;
        }
    }

    Additional Details

    • Last updated: Thu, 08 Jul 2021 12:01:39 GMT
    • Dependencies: @types/node
    • Global values: none

    Credits

    These definitions were written by Emily Klassen.

    Keywords

    none

    Install

    npm i @types/firstline

    DownloadsWeekly Downloads

    362

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    3.8 kB

    Total Files

    4

    Last publish

    Collaborators

    • types