Socket
Socket
Sign inDemoInstall

mkdir-recursive

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mkdir-recursive

make/remove (asynchronous/synchronous) directories recursively


Version published
Weekly downloads
4.6K
increased by7.71%
Maintainers
1
Install size
44.6 kB
Created
Weekly downloads
 

Readme

Source

mkdir-recursive

NPM version Linux Status Windows Status Dependency Status Coveralls

make/remove (asynchronous/synchronous) directories recursively

Installation

Install through NPM

npm install mkdir-recursive

or

git clone git://github.com/hex7c0/mkdir-recursive.git

API

make 3 directories asynchronous recursively

var fx = require('mkdir-recursive');

fx.mkdir('foo/bar/1', function(err) {

  console.log('done');
});

mkdir(path [, mode], callback) Node Doc

  • path - String Dir pathname (default "required")
  • [mode]- Number Scrivi (default "0777")
  • callback - Function Next callback when task is complete (default "required")

mkdirSync(path [, mode]) Node Doc

  • path - String Dir pathname (default "required")
  • [mode]- Number Scrivi (default "0777")

rmdir(path, callback) Node Doc

  • path - String Dir pathname (default "required")
  • callback - Function Next callback when task is complete (default "required")

rmdirSync(path) Node Doc

  • path - String Dir pathname (default "required")

Examples

Take a look at my examples

License GPLv3

Keywords

FAQs

Last updated on 30 Dec 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc