npm.io
0.1.32 • Published 2 years ago

@types/mkpath

Licence
MIT
Version
0.1.32
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/mkpath

Summary

This package contains type definitions for mkpath (https://www.npmjs.com/package/mkpath).

Details

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

index.d.ts

declare namespace mkpath {
    function sync(path: string, mode?: number): void;
}

declare function mkpath(path: string, callback?: (err: any) => void): void;
declare function mkpath(path: string, mode?: number, callback?: (err?: any) => void): void;

export = mkpath;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Jared Klopper.