-
Notifications
You must be signed in to change notification settings - Fork 744
Feature request: Metadata with ls #323
Copy link
Copy link
Closed
Labels
Description
Hi there. First off, I'm a big fan of this library!
Unless I'm missing something, there's no way to read the modification date of a file (among other things). I'm having to go back into node's fs module for that. It seems like this would be very useful. It strikes me that it could be added in an option for ls.
EG: ls('-l', 'path') might return an array of objects with file metadata such as permissions, owner, group, size, and modification date.
Reactions are currently unavailable