Socket
Socket
Sign inDemoInstall

mkdir-recursive

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkdir-recursive

make/remove (asynchronous/synchronous) directories recursively


Version published
Weekly downloads
5.5K
increased by2.69%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 30 Dec 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc