lstat
const lstat = ; ;
Installation
npm install lstat
API
const lstat = ;
lstat(path)
path: String
Return: Promise<fs.Stats>
Almost the same as the Node.js built-in fs.lstat
, but:
- It returns
Promise
, instead of passing the result to its callback function. - The first parameter does't accept
Buffer
by design. Just useString
instead.
; ;
License
Copyright (c) 2017 Shinnosuke Watanabe
Licensed under the MIT License.