#Nodejs
[[fs-extra]]の`remove`を使う。
```ts
import * as fse from 'fs-extra'
fse.remove(path);
```
## その他の方法
[del](https://github.com/sindresorhus/del)を使う方法もある..が非UTF-8のエントリ名を扱えない。
- [Cannot delete dirs containing files with invalid UTF8 sequences in their name · Issue \#124 · sindresorhus/del](https://github.com/sindresorhus/del/issues/124)