Skip to content

Feature request: Metadata with ls #323

@gvn

Description

@gvn

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions