shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
ensureFileSync
Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.fs
Ensure that the passed file exists. If not, will be created… (sync)
Params
- filePath*-String
The file to ensure that it exists…
Example
import { ensureFileSync } from '@blackbyte/sugar/fs';
ensureFileSync('my/cool/file.jpg');Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space