fs-rmdir-recursive

    1.0.0 • Public • Published

    fs-rmdir-recursive

    Remove a directory and its entire files, using fs.rmdirSync and fs.unlinkSync.

    Using fs.rmdirSync or fs.rmdir only, you can't delete a not empty folder.

    Install

    npm i fs-rmdir-recursive
    

    Usage

    const rmdir = require('fs-rmdir-recursive');
     
    rmdir('path/to/be/remove');
     
    console.log('success!')

    Install

    npm i fs-rmdir-recursive

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.46 kB

    Total Files

    3

    Last publish

    Collaborators

    • wangsijie