BLUE
PHP 7.4.33
Path:
/var/www/idmc.bitkit.dk/httpdocs/node_modules/make-dir
Run
Logout
Edit File
Size: 1.50 KB
Close
/var/www/idmc.bitkit.dk/httpdocs/node_modules/make-dir/index.d.ts
Text
Base64
/// <reference types="node"/> import * as fs from 'fs'; declare namespace makeDir { interface Options { /** Directory [permissions](https://x-team.com/blog/file-system-permissions-umask-node-js/). @default 0o777 */ readonly mode?: number; /** Use a custom `fs` implementation. For example [`graceful-fs`](https://github.com/isaacs/node-graceful-fs). Using a custom `fs` implementation will block the use of the native `recursive` option if `fs.mkdir` or `fs.mkdirSync` is not the native function. @default require('fs') */ readonly fs?: typeof fs; } } declare const makeDir: { /** Make a directory and its parents if needed - Think `mkdir -p`. @param path - Directory to create. @returns The path to the created directory. @example ``` import makeDir = require('make-dir'); (async () => { const path = await makeDir('unicorn/rainbow/cake'); console.log(path); //=> '/Users/sindresorhus/fun/unicorn/rainbow/cake' // Multiple directories: const paths = await Promise.all([ makeDir('unicorn/rainbow'), makeDir('foo/bar') ]); console.log(paths); // [ // '/Users/sindresorhus/fun/unicorn/rainbow', // '/Users/sindresorhus/fun/foo/bar' // ] })(); ``` */ (path: string, options?: makeDir.Options): Promise<string>; /** Synchronously make a directory and its parents if needed - Think `mkdir -p`. @param path - Directory to create. @returns The path to the created directory. */ sync(path: string, options?: makeDir.Options): string; }; export = makeDir;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
node_modules
DIR
-
drwxrwxr-x
2024-09-23 09:37:24
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.d.ts
1.50 KB
lrw-rw-r--
2024-09-23 09:37:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
3.05 KB
lrw-rw-r--
2024-09-23 09:37:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
license
1.08 KB
lrw-rw-r--
2024-09-23 09:37:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
1.03 KB
lrw-rw-r--
2024-09-23 09:37:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
readme.md
3.15 KB
lrw-rw-r--
2024-09-23 09:37:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).