@suku/utils
v2.0.0-1.0.0
Published
Collection of utilities for SUKU Labs
Downloads
11
Keywords
Readme
SUKU UTILS LIBRARY
Welcome to the SUKU UTILS LIBRARY. This library aims to provide the commonly used functions across the SUKU Ecosystem.
To use the package
npm install @suku/utils
List of utility functions
- guid
- curlRequest
- fileUpload
- geo
- restMiddleware
GUID
GUID is a util function which is used to generate a global unique identity to create a reference for data object
CURL REQUEST
CURL REQUEST is a utility which simplifies HTTP service calls by providing a generic methodology for all HTTP verbs (GET,POST,PUT,PATCH,DELETE)
FILE UPLOAD
FILE UPLOAD is a utility which provides single and multi file uploads in asynchronous manner
GEO
GEO utility provides countries and state resources
REST MIDDLE-WARE
REST MIDDLE-WARE is used to parse HTTP request and response to intercept and modify the data set like setting the HTTP response code based on the keyword defined
