mkpath

WebJar for mkpath

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

mkpath
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

mkpath
WebJar for mkpath
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/jrajav/mkpath

Скачать mkpath

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/mkpath/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>mkpath</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/mkpath/
implementation 'org.webjars.npm:mkpath:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/mkpath/
implementation ("org.webjars.npm:mkpath:0.1.0")
'org.webjars.npm:mkpath:jar:0.1.0'
<dependency org="org.webjars.npm" name="mkpath" rev="0.1.0">
  <artifact name="mkpath" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='mkpath', version='0.1.0')
)
libraryDependencies += "org.webjars.npm" % "mkpath" % "0.1.0"
[org.webjars.npm/mkpath "0.1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

mkpath

Make all directories in a path, like mkdir -p.

How to use

var mkpath = require('mkpath');

mkpath('red/green/violet', function (err) {
    if (err) throw err;
    console.log('Directory structure red/green/violet created');
});

mkpath.sync('/tmp/blue/orange', 0700);

mkpath(path, [mode = 0777 & (~process.umask()),] [callback])

Create all directories that don't exist in path with permissions mode. When finished, callback(err) fires with the error, if any.

mkpath.sync(path, [mode = 0777 & (~process.umask())]);

Synchronous version of the same. Throws error, if any.

License

This software is released under the MIT license.

Версии библиотеки

Версия
0.1.0