How to use the native function from rimraf

Find comprehensive JavaScript rimraf.native code examples handpicked from public code repositorys.

1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
    });
},

async rm(f, option = {}) {
    let ok = true;
    await rimraf.native(f, option).catch(function(err) {
        console.error(err);
        ok = false;
    });
    return ok;
fork icon0
star icon1
watch icon1

+ 2 other calls in file