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

0.0.32 • Public • Published

Installation

npm install --save @types/wrench

Summary

This package contains type definitions for wrench (https://github.com/ryanmcgrath/wrench-js).

Details

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

index.d.ts

// Imported from: https://github.com/soywiz/typescript-node-definitions/wrench.d.ts

export declare function readdirSyncRecursive(baseDir: string): string[];
export declare function rmdirSyncRecursive(path: string, failSilent?: boolean): void;
export declare function copyDirSyncRecursive(
    sourceDir: string,
    newDirLocation: string,
    opts?: { preserve?: boolean | undefined },
): void;
export declare function chmodSyncRecursive(sourceDir: string, filemode: number): void;
export declare function chownSyncRecursive(sourceDir: string, uid: number, gid: number): void;
export declare function mkdirSyncRecursive(path: string, mode: number): void;

export declare function readdirRecursive(baseDir: string, fn: (err: Error, files: string[]) => void): void;
export declare function rmdirRecursive(path: string, fn: (err: Error) => void): void;
export declare function copyDirRecursive(srcDir: string, newDir: string, fn: (err: Error) => void): void;

export declare class LineReader {
    constructor(filename: string, bufferSize?: number);

    getBufferAndSetCurrentPosition(position: number): number;
    hasNextLine(): boolean;
    getNextLine(): string;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Carlos Ballesteros Velasco.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.29265ts3.6
0.0.29265ts3.7
0.0.29265ts3.8
0.0.29265ts3.9
0.0.29265ts4.0
0.0.29265ts4.1
0.0.29265ts4.2
0.0.29265ts4.3
0.0.29265ts4.4
0.0.32254ts5.8
0.0.32254ts5.7
0.0.32254latest
0.0.32254ts4.5
0.0.32254ts4.6
0.0.32254ts4.7
0.0.32254ts4.8
0.0.32254ts4.9
0.0.32254ts5.0
0.0.32254ts5.1
0.0.32254ts5.2
0.0.32254ts5.3
0.0.32254ts5.4
0.0.32254ts5.5
0.0.32254ts5.6
0.0.32254ts5.9
0.0.282ts2.0
0.0.282ts2.1
0.0.282ts2.2
0.0.282ts2.3
0.0.282ts2.4
0.0.282ts2.5
0.0.282ts2.6
0.0.282ts2.7
0.0.282ts2.8
0.0.282ts2.9
0.0.282ts3.0
0.0.282ts3.1
0.0.282ts3.2
0.0.282ts3.3
0.0.282ts3.4
0.0.282ts3.5

Version History

VersionDownloads (Last 7 Days)Published
0.0.32254
0.0.311
0.0.300
0.0.29265
0.0.282
0.0.270
0.0.26-alpha1
0.0.25-alpha0
0.0.24-alpha0
0.0.23-alpha0
0.0.22-alpha0
0.0.21-alpha0
0.0.20-alpha0
0.0.15-alpha1
0.0.14-alpha1

Package Sidebar

Install

npm i @types/wrench

Weekly Downloads

525

Version

0.0.32

License

MIT

Unpacked Size

4.87 kB

Total Files

5

Last publish

Collaborators

  • types