fs-exists-sync
Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.
Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.
Check if filepath exists and is a file. Note this is a fork of file-exists dpenedency with some ammendments.
Set the `contents` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.
Set the `stat` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.
Check if filepath exists and is a file
Promise version of is-file
A very limited subset of fs functions I use every day
Resolve symlinks and expose the `stat` property on a file object.
Type check in TypeScript
Check if the parameter is file
Simple and light-weight JavaScript type checker that brings convenience!
check if file exists