Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@nodeswork/utils

0.1.13 • Public • Published

@nodeswork/utils

Utilities used across nodeswork repos.

Installation

npm install --save @nodeswork/utils

Key Components

Index Component Description
1 Error Basic Error class
2 Validator Validate object fields
3 Validator2 Validate object fields
4 Http Handler Utility functions for handling HTTP requests
5 Utility Functions Some other basic utility functions

Error Class

constructor

Param Required Type Description
message required string
meta default: {} ErrorMeta
cause default: null Error or any any

install

npm i @nodeswork/utils

Downloadsweekly downloads

30

version

0.1.13

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability