@reemo/flatten-dir-deno@0.1.3
latest
r48n34/flatten-dir-denoA simple CLI for flatten the directory
This package works with Deno, Bun

JSR Score
100%
Published
9 months ago (0.1.3)
📁 flatten-dir-deno
A simple CLI for flatten the directory 📁 with JSR.
Modify from:
https://www.npmjs.com/package/flatten-directory?activeTab=code
💻 Install from JSR (Recommended)
- Using the following commands.
deno install -A -n flatDir https://jsr.io/@reemo/flatten-dir-deno/0.1.3/mod.ts
- Done, try the following command in terminal.
flatDir testFolder
🐙 Install from Git
This methos is for non-denoLand / Jsr install. If you are using the top method to install, you can skip this sections.
- Git clone the project first
git clone https://github.com/r48n34/flatten-dir-deno.git
- Install with deno task
deno task install
- Run with dtree
flatDir testFolder
🚀 Usage
Using this repo for sample, the cli will output this result.
# In default using your working dir # <output_dir> is the path to copy files flatDir <output_dir> e.g. flatDir myCopyFile
PS D:\Github\assignment-prompt> flatDir myCopyFile Processing 25 files... -------------------------------------- From: D:\Github\assignment-prompt\.git\config To: D:\Github\assignment-prompt\myCopyFile\.git-config From: D:\Github\assignment-prompt\.git\description To: D:\Github\assignment-prompt\myCopyFile\.git-description //...
🚫 Uninstall
deno uninstall flatDir
🚗 License
MIT License
Add Package
deno add jsr:@reemo/flatten-dir-deno
Import symbol
import * as flatten_dir_deno from "@reemo/flatten-dir-deno";
Import directly with a jsr specifier
import * as flatten_dir_deno from "jsr:@reemo/flatten-dir-deno";
Add Package
bunx jsr add @reemo/flatten-dir-deno
Import symbol
import * as flatten_dir_deno from "@reemo/flatten-dir-deno";