fsx

1.0.2 • Public • Published

fsx

Just a small utility that I had to copy for many of my modules. Will scan a directory recursively, keep track of both files and directories, and return two flattened arrays.

Install with

npm install fsx

then

var fsx = require('fsx');
var output = fsx.readDirSync(dir);

yielding:

console.log(output);
->
{
  dirs: [pathstodirs],
  files: [paths to files],
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    3
    • latest

Version History

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

Package Sidebar

Install

npm i fsx

Weekly Downloads

5

Version

1.0.2

License

none

Last publish

Collaborators

  • clux