ginclude
v1.0.3
Published
Include for any types of files
Downloads
6
Readme
generic-include
Include for any types of files
Install
npm i ginclude
Usage
ginclude --files-glob='src/**/*.txt'
main.txt
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
#include "./next.txt"
next.txt
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
generic-include will produce such output
main.build.txt
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.