0.0.13 • Published 6 years ago
@btpns/util v0.0.13
INSTALL
npm install @btpns/util
IMPORT FILE
can import any js OR ts file with limited filter. Accept 2 parameter:
directory (in string)
filter (in object):
isIncludeSubModuleFile (default: false),
excludeFiles (default: 'index.ts', 'index.js'),
includeExtensions (default: '.ts', '.js'),
READ CONFIG JSON
read config json in 'src/config/config.json' as json object. Will be null if file is not exist.