Back to Explore

sindresorhus/make-dir

GitHub
1 watchersOpen source

Last release:

make-dir is a Node.js utility that creates a directory and any missing parent directories, similar to `mkdir -p`. It provides both async (Promise) and sync APIs, and can use a custom `fs` implementation, which can be useful when you need control over the filesystem layer.

Project status

  • Maintenance status: The repo shows recent activity (latest update v5.1.0 and upstream push on 2025-09-10), suggesting it is still in maintenance rather than dormant.
  • Update cadence: After v5.0.0 (2024-05-02), there was an additional update v5.1.0 on 2025-09-10, roughly 16 months later, with no further updates shown as of 2026-08-12 (about 11 months since the last update).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v5.1.0

    v5.1.0 adds support for passing file:// URL objects to makeDirectory and makeDirectorySync. The TypeScript declarations and runtime implementation were updated to convert URL inputs to filesystem paths before validation and directory creation.

    Features
  • v5.0.0

    v5.0.0 is a major release that migrates the package to ESM, requires Node.js 18, and switches from a default export to named exports. The implementation and typings were updated accordingly, including `makeDirectory` and `makeDirectorySync` entry points.

    Breaking
  • v4.0.0

    v4.0.0 is a major release that drops support for Node.js versions below 10. It also updates dependencies (notably the `semver` package) and refreshes CI tooling.

    Breaking