duang is a cli tool help to eliminate all your dependencies.
Basically, it rename all the node_modules folder into
change the require statement to correspond to the
npm install duang -g
cd /path/to/your/project duang --output out
You will see there is an
out in which there is a
xnode_modules folder lies.
Then you will notice every line of require under the
out folder has been turned
into relative path.