0.0.32 • Published 6 months ago

@types/wrench v0.0.32

Weekly downloads
780
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for wrench
// Project: https://github.com/ryanmcgrath/wrench-js
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

// 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: Fri, 02 Jul 2021 18:06:03 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Carlos Ballesteros Velasco.

0.0.30

8 months ago

0.0.31

7 months ago

0.0.32

6 months ago

0.0.29

3 years ago

0.0.28

8 years ago

0.0.27

8 years ago

0.0.26-alpha

8 years ago

0.0.25-alpha

8 years ago

0.0.24-alpha

8 years ago

0.0.23-alpha

8 years ago

0.0.22-alpha

8 years ago

0.0.21-alpha

8 years ago

0.0.20-alpha

8 years ago

0.0.15-alpha

8 years ago

0.0.14-alpha

8 years ago