Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dirls - Get directory contents and metadata

Build Status FOSSA Status

Install

npm i @georgenet/dirls

Usage

const dirls = require('@georgenet/dirls')
console.log(dirls('path'))

Out:

[
	{
		name: "file.txt" // File name
		type: "file" // Can be 'device', 'directory', 'FIFOpipe', 'file', 'socket', 'symlink' or 'unknown'
		stats: {} // fs.Stats object
	}
]

License

FOSSA Status

About

Get directory contents and metadata

Resources

License

Packages

No packages published