Merge files using Node

This simple example merges two or more files into another.

Steps

  1. Input the command:
node merge.js output.txt file1.txt file2.txt

NOTE: This script doesn't take into account the file order.