@georgenet/dirls

1.0.1 • Public • Published

dirls - Get directory contents and metadata

Build 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
	}
]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i @georgenet/dirls

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

184 kB

Total Files

16

Last publish

Collaborators

  • georgenet