@m59/remove-directory
Simple function that can remove a non-empty directory.
const { removeDirectory, removeDirectorySync } = require('@m59/remove-directory')
removeDirectorySync('/tmp/o')
;(async () => {
await removeDirectory('/tmp/ani')
})()
Simple function that can remove a non-empty directory.
const { removeDirectory, removeDirectorySync } = require('@m59/remove-directory')
removeDirectorySync('/tmp/o')
;(async () => {
await removeDirectory('/tmp/ani')
})()
npm i @m59/remove-directory
0
1.0.0
CC0-1.0
9.23 kB
8