win-getchildren-js

1.0.3 • Public • Published

WIN-GETCHILDREN-JS

Getting Folder's children with attributes: Node.js (libuv) function fs.readdir(path[, options], callback) returns parent folder's children names/paths without attributes.

Since native Windows Functions FindFirstFileExW and FindNextFileW return WIN32_FIND_DATAW wfd we developed a small C++ addon returning the children's paths and also attributes as JSON Array.

Usage is quite simple:

import getChildren from "win-getchildren-js";
try {
    const children = getChildren({folderPath});
} catch(error) {
    //... You should catch errors though
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i win-getchildren-js

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

11.3 kB

Total Files

8

Last publish

Collaborators

  • ggnaegi