make-dir
Make a directory and its parents if needed - Think `mkdir -p` (by sindresorhus)
mkdirp
Recursively mkdir, like `mkdir -p`, but in node.js (by substack)
Our great sponsors
make-dir | mkdirp | |
---|---|---|
- | 3 | |
472 | 2,283 | |
- | - | |
4.1 | 0.0 | |
8 months ago | about 2 years ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
make-dir
Posts with mentions or reviews of make-dir.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning make-dir yet.
Tracking mentions began in Dec 2020.
mkdirp
Posts with mentions or reviews of mkdirp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-25.
-
How to handle Image file uploads with multer in nodejs
1.Install the following packages multer for file upload and mkdirp for creating multilevel directories.
-
A few years ago, I would’ve told you to install cd, top, and pwd. But not anymore, my friend. The new era of Rust-based command line applications has arrived, and you don’t want to be left behind.
mkdirp - npm, 64 million weekly downloads
-
Help with path module.
Paths between different operating systems is a PITA. You should use a package for that, the npm cli uses this https://www.npmjs.com/package/mkdirp
What are some alternatives?
When comparing make-dir and mkdirp you can also consider the following projects:
istextorbinary - Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs()
write-json-file - Stringify and write JSON to a file atomically
rimraf - A `rm -rf` util for nodejs
proper-lockfile - An inter-process and inter-machine lockfile utility that works on a local or network file system.
move-file - Move a file - Even works across devices
pkg-dir - Find the root directory of a Node.js project or npm package
graceful-fs - fs with incremental backoff on EMFILE
Watch-fn