JSPM

folder-delete

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 630
  • Score
    100M100P100Q104816F
  • License MIT

delete folders with all child folders and files

Package Exports

  • folder-delete

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (folder-delete) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

folder-delete Build Status


A small library to delete folders with all child folders and files.


Installation

npm install folder-delete


Usage

const deleteFolder = require('delete-folder)

deleteFolder('folderToDelete', {debugLog: false});

API

deleteFolder(path, [options])

delete folder in path with all of its child folders and files.

options

Type: object

[debugLog]: log progress to console. (default false)


License

Copyright © 2017, Erdem Bircan. Released under the MIT License.