hun-meta-lambda-common
v0.0.1
Published
Common utilities and services for Lambda functions
Readme
@your-username/lambda-common
Common utilities and services for Lambda functions.
Installation
npm install @your-username/lambda-commonUsage
import { BaseService, CustomException, LoggerService } from '@your-username/lambda-common';
// Use LoggerService
const logger = LoggerService.getInstance();
logger.info('MyContext', 'Hello World');
// Extend BaseService
class MyService extends BaseService {
constructor() {
super('MyContext', '001', logger);
}
}Development
# Build
npm run build
# Watch mode
npm run build:watch
# Test
npm run test
# Lint
npm run lintLicense
MIT
