1.0.1 • Published 5 years ago

node-basic-helpers v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

JavaScript Style Guide Build Status

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.

1.0.1

5 years ago

1.0.0

5 years ago