Install from the command line:
npm install @evanhendersonrichtbyte/[email protected]
Install via package.json:
"@evanhendersonrichtbyte/dynamic-module-importer": "1.1.0"
- mongoose
- other file that contains default exported functions
include functions needs 3 parameters (files, fileDirectory, includedFn)
- files : array of strings = your files (containing array of filenames)
- fileDirectory : strings = modules relative path from your current file
- includedFn : array of strings = storing list of imported functions
- functionList = return list of imported functions
- fileList = return list of imported files