@types/wrench
TypeScript definitions for wrench
Last updated 2 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/wrench 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.0.32                                ...           latest (2 years ago)
  • 0.0.28                                ...           ts2.0 (10 years ago)
  • 0.0.28                                ...           ts2.1 (10 years ago)
  • 0.0.28                                ...           ts2.2 (10 years ago)
  • 0.0.28                                ...           ts2.3 (10 years ago)
  • 0.0.28                                ...           ts2.4 (10 years ago)
  • 0.0.28                                ...           ts2.5 (10 years ago)
  • 0.0.28                                ...           ts2.6 (10 years ago)
  • 0.0.28                                ...           ts2.7 (10 years ago)
  • 0.0.28                                ...           ts2.8 (10 years ago)
  • 0.0.28                                ...           ts2.9 (10 years ago)
  • 0.0.28                                ...           ts3.0 (10 years ago)
  • 0.0.28                                ...           ts3.1 (10 years ago)
  • 0.0.28                                ...           ts3.2 (10 years ago)
  • 0.0.28                                ...           ts3.3 (10 years ago)
  • 0.0.28                                ...           ts3.4 (10 years ago)
  • 0.0.28                                ...           ts3.5 (10 years ago)
  • 0.0.29                                ...           ts3.6 (5 years ago)
  • 0.0.29                                ...           ts3.7 (5 years ago)
  • 0.0.29                                ...           ts3.8 (5 years ago)
  • 0.0.29                                ...           ts3.9 (5 years ago)
  • 0.0.29                                ...           ts4.0 (5 years ago)
  • 0.0.29                                ...           ts4.1 (5 years ago)
  • 0.0.29                                ...           ts4.2 (5 years ago)
  • 0.0.29                                ...           ts4.3 (5 years ago)
  • 0.0.29                                ...           ts4.4 (5 years ago)
  • 0.0.32                                ...           ts4.5 (2 years ago)
  • 0.0.32                                ...           ts4.6 (2 years ago)
  • 0.0.32                                ...           ts4.7 (2 years ago)
  • 0.0.32                                ...           ts4.8 (2 years ago)
  • 0.0.32                                ...           ts4.9 (2 years ago)
  • 0.0.32                                ...           ts5.0 (2 years ago)
  • 0.0.32                                ...           ts5.1 (2 years ago)
  • 0.0.32                                ...           ts5.2 (2 years ago)
  • 0.0.32                                ...           ts5.3 (2 years ago)
  • 0.0.32                                ...           ts5.4 (2 years ago)
  • 0.0.32                                ...           ts5.5 (2 years ago)
  • 0.0.32                                ...           ts5.6 (2 years ago)
  • 0.0.32                                ...           ts5.7 (2 years ago)
  • 0.0.32                                ...           ts5.8 (2 years ago)
  • 0.0.32                                ...           ts5.9 (2 years ago)

15 Versions

  • 0.0.32                                ...           2 years ago
  • 0.0.31                                ...           2 years ago
  • 0.0.30                                ...           3 years ago
  • 0.0.29                                ...           5 years ago
  • 0.0.28                                ...           10 years ago
  • 0.0.27                                ...           10 years ago
  • 0.0.26-alpha                                ...           10 years ago
  • 0.0.25-alpha                                ...           10 years ago
  • 0.0.24-alpha                                ...           10 years ago
  • 0.0.23-alpha                                ...           10 years ago
  • 0.0.22-alpha                                ...           10 years ago
  • 0.0.21-alpha                                ...           10 years ago
  • 0.0.20-alpha                                ...           10 years ago
  • 0.0.15-alpha                                ...           10 years ago
  • 0.0.14-alpha                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |