shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
unlinkSync
Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.fs
Removes a file or directory. The directory can have contents. If the path does not exist, silently does nothing. Like rm -rf (sync)
Params
- path*-String
The file/directory path to delete
Example
import { unlinkSync } from '@blackbyte/sugar/fs';
unlinkSync('my/cool/file.json');Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space