smash

concatenate files together using import statements

Install

All systems
curl cmd.cat/smash.sh
Debian Debian
apt-get install node-smash
Ubuntu
apt-get install node-smash
image/svg+xml Kali Linux
apt-get install node-smash
Windows (WSL2)
sudo apt-get update sudo apt-get install node-smash
Raspbian
apt-get install node-smash

node-smash

concatenate files together using import statements

Concatenates one or more input files, outputting a single merged file. Any import statements in the input files are expanded in-place to the contents of the imported file. If the same file is imported multiple times, only the first instance of the file is included.