![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@fibjs/mkdirp
Advanced tools
Like mkdir -p
, but in fibjs!
$ npm i @fibjs/mkdirp --save
const mkdirp = require('@fibjs/mkdirp');
try{
mkdirp('/tmp/a/c/d')
} catch(err) {
console.error(err)
}
then /tmp/a/c/d has beed created.
asynchronously create a new directory and any necessary subdirectories at dir
with octal permission string opts.mode
. If opts
is a non-object, it will be
treated as the opts.mode
.
If opts.mode
isn't specified, it defaults to 0777 & (~process.umask())
.
Returns the first directory that had to be created, if any.
You can optionally pass in an alternate fs
implementation by passing in
opts.fs
. Your implementation should have opts.fs.mkdir(path, mode)
and
opts.fs.stat(path)
.
Please open an issue here.
FAQs
Recursively mkdir, like `mkdir -p`
The npm package @fibjs/mkdirp receives a total of 48 weekly downloads. As such, @fibjs/mkdirp popularity was classified as not popular.
We found that @fibjs/mkdirp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.