newmax-utils
v0.0.190
Published
Utils & Libs for Newmax Tech
Downloads
949
Readme
Newmax Utils
Features
Libs
- Winston
- Pino
- JWT
- Crypto
- Moment
Utils
- ApiError
- BulkCreate
- Capitalize
- ChunkArray
- ConditionByDates
- Delay
- FetchRequest
- FileActions
- FilterByKey
- GetLastDataTimestamp
- GroupByKey
- Random String
- Service Invoker
Install
npm install newmax-utils
Usage
import { Winston } from 'newmax-utils';
const Logger = new Winston();
const logger = Logger.createInstance();
logger.error(`Message ${process.env.NODE_ENV}`);