1.0.1 • Published 5 years ago
node-basic-helpers v1.0.1
Node Basic Helpers
This is a collection of basic helpers, useful when building a node application.
Installation
npm install node-basic-helpers
Usage
In your code, just require()
whatever you need, as shown in the full example below:
const {
basicFunctions: {
isEmpty,
isRegExp,
areAllNonEmptyStrings,
isDirectory,
isFile,
argValue,
findFileInDirs
},
statusFunctions: {
validatedDirectory,
filePathValidated,
filePathRequired,
safeRequire,
routePathsErr,
nameErr
},
StatusBasic,
Status,
FakeFs
} = require('node-basic-helpers')
API Documentation
Please see API Documentation for helpers index and detailed information.
License
Node Basic Helpers are available under the MIT License.