npm install typescript-helper-functions@latest
Inherit from this class to get some extra functionality
public class Class1 extends BaseClass{
}
Helper class to log in a consistent way
const logHelper = new LogHelper(LogLevel.Trace);
logHelper.LogInputs('functionName', new { param1, param2 }());
Helper class to invoke operations on object types
const objectOperations = new ObjectOperations();
logHelper.ToString(true);
Helper class to invoke operations on object types
const logger = new Logger(LogLevel.Trace);
const orchestrator = new Orchestrator(logger);
orchestrator.Orchestrate(() => {
console.log('function');
});
Clone the latest and run
npm run prep
to install packages and prep the git hooks