{"id":21278399,"url":"https://github.com/wdalmut/ls-stat","last_synced_at":"2025-03-15T13:41:03.206Z","repository":{"id":142589596,"uuid":"84003113","full_name":"wdalmut/ls-stat","owner":"wdalmut","description":"Simple ls with promises","archived":false,"fork":false,"pushed_at":"2017-03-13T19:36:14.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T06:35:59.605Z","etag":null,"topics":["ls","lstat","stat"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wdalmut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-05T21:21:49.000Z","updated_at":"2019-07-09T11:58:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"09904053-bb55-4b88-a9d9-36a20c4953a6","html_url":"https://github.com/wdalmut/ls-stat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fls-stat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fls-stat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fls-stat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wdalmut%2Fls-stat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wdalmut","download_url":"https://codeload.github.com/wdalmut/ls-stat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243738954,"owners_count":20339997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ls","lstat","stat"],"created_at":"2024-11-21T10:13:19.637Z","updated_at":"2025-03-15T13:41:03.178Z","avatar_url":"https://github.com/wdalmut.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Directory iterator (with stats)\n\nSimple sequential/serial folder iterator with promises\n\n```js\nconst ls = require('ls-stat');\n\nls('/path/to/disk').then((files) =\u003e {\n    // ['folder1', 'folder2', 'file.txt', 'file2.txt'] (stats included)\n    var paths = files.filter((file) =\u003e file.isDirectory()).map((file) =\u003e file.filename);\n\n    console.log(paths); // ['folder1', 'folder2']\n});\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdalmut%2Fls-stat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwdalmut%2Fls-stat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwdalmut%2Fls-stat/lists"}