🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
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
Maintainers
1
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

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts