1.0.1 • Published 8 months ago

@jolisoft/concat-src v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

@jolisoft/concat-src

Concatenate source files from one or more JavaScript / TypeScript projects into a single output file — ideal for code reviews, demos, or inspection.

🚀 Features

  • Works with multi-project setups using React, TypeScript, Node.js, etc.
  • Runs from a solution root, scanning subprojects (1 level deep)
  • Includes .js, .ts, .tsx, .css files
  • Skips node_modules, lockfiles, and redundant transpiled .js files
  • No dependencies — lightweight and fast

📦 Installation (Required)

npm install -g @jolisoft/concat-src

This installs the global CLI command:

concatSrc

🧰 Usage

Run from the root folder containing your projects:

concatSrc

Optionally, target a specific subproject:

concatSrc --project my-subfolder

📁 Output

Each project will generate a file like:

project-name_combined.txt

Files are saved in the current directory.

🛑 Exclusions

Automatically skips:

  • node_modules/, package-lock.json, and similar
  • .js files that have matching .ts or .tsx versions

Built with ❤️ by Jolisoft

1.0.1

8 months ago

1.0.0

8 months ago