Search results
12 packages found
Check if filepath exists and is a file
Check if filepath exists and is a file. Note this is a fork of file-exists dpenedency with some ammendments.
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.
Simple and light-weight JavaScript type checker that brings convenience!
- is-array
- isArray
- is-bigint
- isBigint
- is-blob
- isBlob
- is-boolean
- isBoolean
- is-date
- isDate
- is-error
- isError
- is-file
- isFile
- View more
check if file exists
Set the `stat` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.
Set the `contents` property on a file object. Abstraction from vinyl-fs to support stream or non-stream usage.
Check if the parameter is file
Type check in TypeScript
- type
- typescript
- is-arguments
- is-array
- is-array-buffer
- is-array-buffer-view
- is-blob
- is-boolean
- is-buffer
- is-date
- is-error
- is-file
- is-float32-array
- is-float64-array
- View more
Resolve symlinks and expose the `stat` property on a file object.
A very limited subset of fs functions I use every day