{"id":18539041,"url":"https://github.com/simov/recursive-fs","last_synced_at":"2025-04-09T17:38:04.528Z","repository":{"id":6353291,"uuid":"7590122","full_name":"simov/recursive-fs","owner":"simov","description":"Asynchronous recursive file system operations","archived":false,"fork":false,"pushed_at":"2021-11-15T14:04:30.000Z","size":34,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T22:40:29.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-13T16:07:47.000Z","updated_at":"2023-04-21T08:49:23.000Z","dependencies_parsed_at":"2022-09-09T12:51:49.716Z","dependency_job_id":null,"html_url":"https://github.com/simov/recursive-fs","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Frecursive-fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Frecursive-fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Frecursive-fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simov%2Frecursive-fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simov","download_url":"https://codeload.github.com/simov/recursive-fs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248078588,"owners_count":21044140,"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":[],"created_at":"2024-11-06T19:45:57.273Z","updated_at":"2025-04-09T17:38:04.229Z","avatar_url":"https://github.com/simov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# recursive-fs\n\n[![npm-version]][npm] [![travis-ci]][travis] [![coveralls-status]][coveralls]\n\n\u003e _Asynchronous Recursive File System Operations_\n\n## read\n\n```js\nvar rfs = require('recursive-fs')\n\nvar path = require('path')\nvar directory = path.resolve(process.cwd(), process.argv[2])\n\n;(async () =\u003e {\n  try {\n    var {dirs, files} = await rfs.read(directory)\n    console.log(dirs)\n    console.log(files)\n    console.log('DONE!')\n  }\n  catch (err) {\n    console.error(err)\n  }\n})()\n```\n\n\n## remove\n\n```js\nvar rfs = require('recursive-fs')\n\nvar path = require('path')\nvar directory = path.resolve(process.cwd(), process.argv[2])\n\n;(async () =\u003e {\n  try {\n    await rfs.remove(directory)\n    console.log('DONE!')\n  }\n  catch (err) {\n    console.error(err)\n  }\n})()\n```\n\n\n## copy\n\n```js\nvar rfs = require('recursive-fs')\n\nvar path = require('path')\nvar source = path.resolve(process.cwd(), process.argv[2])\nvar destination = path.resolve(process.cwd(), process.argv[3])\n\n;(async () =\u003e {\n  try {\n    await rfs.copy(source, destination)\n    console.log('DONE!')\n  }\n  catch (err) {\n    console.error(err)\n  }\n})()\n```\n\n---\n\n## recursive-copy\n\n```bash\nnpx recursive-copy 'path/to/source/directory' 'path/to/destination/directory'\n```\n\n\n## recursive-delete\n\n```bash\nnpx recursive-delete 'path/to/directory'\n```\n\n\n  [npm-version]: https://img.shields.io/npm/v/recursive-fs.svg?style=flat-square (NPM Package Version)\n  [travis-ci]: https://img.shields.io/travis/simov/recursive-fs/master.svg?style=flat-square (Build Status - Travis CI)\n  [coveralls-status]: https://img.shields.io/coveralls/simov/recursive-fs.svg?style=flat-square (Test Coverage - Coveralls)\n\n  [npm]: https://www.npmjs.com/package/recursive-fs\n  [travis]: https://travis-ci.org/simov/recursive-fs\n  [coveralls]: https://coveralls.io/github/simov/recursive-fs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Frecursive-fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimov%2Frecursive-fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimov%2Frecursive-fs/lists"}