File Exists Sync
Check if a file exists in Node.js.
Why a new file-exists check?
- uses a non-deprecated version of
fs
- no need for promises
- ES6 default import
Setup
> npm install file-exists-sync
; ; // true or false
Check if a file exists in Node.js.
Why a new file-exists check?
fs
> npm install file-exists-sync
; ; // true or false
npm i file-exists-sync
7
1.0.1
ISC