firost
v2.17.0
GitHub
Filesystem
copy
emptyDir
exists
isDirectory
isFile
isSymlink
mkdirp
newFile
move
read
remove
symlink
write
Filepath
absolute
gitRoot
glob
packageRoot
tmpDirectory
URLs
download
isUrl
normalizeUrl
readUrl
urlToFilepath
JSON
readJsonUrl
readJson
writeJson
Commands
run
which
env
exit
prompt
spinner
Watchers
unwatchAll
unwatch
waitForWatchers
watch
Utils
captureOutput
require
sleep
uuid
error
Console
consoleError
consoleInfo
consoleSuccess
consoleWarn
Edit
unwatchAll
Stops all watchers created by
watch
.
await unwatchAll()
Examples
await
watch(
'./src/*.css'
,
() =>
{});
await
unwatchAll();
Made by
@pixelastic
Twitter
GitHub
Projects