New:Socket for Asana Is Now Available.Learn more
Sign In

mkdir-sync-recursive

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdir-sync-recursive

Synchronously and recursively creates a directory. Returns undefined or the first directory path created.

latest
Source
npmnpm
Version
1.2.2
Version published
Weekly downloads
19
111.11%
Maintainers
1
Weekly downloads
 
Created
Source

mkdir-sync-recursive

Synchronously and recursively creates a directory. Returns undefined or the first directory path created.

Installation

npm install mkdir-sync-recursive

Usage

import mkdirSyncRecursive from 'mkdir-sync-recursive'

// Returns undefined, or the first directory path created.
mkdirSyncRecursive('/path/source')

// Returns undefined, or the first directory path created of each path.
mkdirSyncRecursive(['test', 'build/scripts', 'test/html'])

Keywords

mkdir

FAQs

Package last updated on 20 Nov 2025

Related posts