{"id":19551387,"url":"https://github.com/r48n34/flatten-dir-deno","last_synced_at":"2026-05-13T08:06:21.079Z","repository":{"id":262061374,"uuid":"867395305","full_name":"r48n34/flatten-dir-deno","owner":"r48n34","description":"📁 A simple CLI for flatten the directory","archived":false,"fork":false,"pushed_at":"2024-11-10T08:30:54.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T20:22:58.442Z","etag":null,"topics":["deno","jsr"],"latest_commit_sha":null,"homepage":"https://jsr.io/@reemo/flatten-dir-deno","language":"TypeScript","has_issues":false,"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/r48n34.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-04T01:38:09.000Z","updated_at":"2024-11-10T08:30:57.000Z","dependencies_parsed_at":"2024-11-10T09:26:33.045Z","dependency_job_id":"ce46af61-4bfb-467b-b4d6-840b5ac5737e","html_url":"https://github.com/r48n34/flatten-dir-deno","commit_stats":null,"previous_names":["r48n34/flatten-dir-deno"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r48n34%2Fflatten-dir-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r48n34%2Fflatten-dir-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r48n34%2Fflatten-dir-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r48n34%2Fflatten-dir-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r48n34","download_url":"https://codeload.github.com/r48n34/flatten-dir-deno/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240807564,"owners_count":19860772,"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":["deno","jsr"],"created_at":"2024-11-11T04:13:43.423Z","updated_at":"2025-11-20T08:01:37.113Z","avatar_url":"https://github.com/r48n34.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📁 flatten-dir-deno\n\n![JSR Version](https://img.shields.io/jsr/v/%40reemo/flatten-dir-deno)\n![CICD](https://img.shields.io/github/actions/workflow/status/r48n34/flatten-dir-deno/test.yml)\n\n\nA simple CLI for flatten the directory 📁 with JSR. (For Deno 2.0)\n\nModify from:  \nhttps://www.npmjs.com/package/flatten-directory?activeTab=code\n\n## 💻 Install from JSR (Recommended)\n1. Using the following commands.\n```bash\ndeno install --global -A -n flatDir https://jsr.io/@reemo/flatten-dir-deno/0.1.3/mod.ts\n```\n\n2. Done, try the following command in terminal.\n```bash\nflatDir testFolder\n```\n\n## 🐙 Install from Git\nThis methos is for non-denoLand / Jsr install. If you are using the top method to install, you can skip this sections. \n\n1. Git clone the project first\n```bash\ngit clone https://github.com/r48n34/flatten-dir-deno.git\n```\n\n2. Install with deno task\n```bash\ndeno task install\n```\n\n3. Run with dtree\n```bash\nflatDir testFolder\n```\n\n## 🚀 Usage\nUsing this repo for sample, the cli will output this result.\n\n```bash\n# In default using your working dir\n# \u003coutput_dir\u003e is the path to copy files\nflatDir \u003coutput_dir\u003e\n\ne.g. flatDir myCopyFile\n```\n\n```md\nPS D:\\Github\\assignment-prompt\u003e flatDir myCopyFile\n\nProcessing 25 files...\n--------------------------------------\nFrom: D:\\Github\\assignment-prompt\\.git\\config\nTo: D:\\Github\\assignment-prompt\\myCopyFile\\.git-config\nFrom: D:\\Github\\assignment-prompt\\.git\\description\nTo: D:\\Github\\assignment-prompt\\myCopyFile\\.git-description\n//...\n```\n\n## 🚫 Uninstall \n```bash\ndeno uninstall flatDir \n```\n\n## 🚗 License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr48n34%2Fflatten-dir-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr48n34%2Fflatten-dir-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr48n34%2Fflatten-dir-deno/lists"}