Wondering what’s next for npm?Check out our public roadmap! »

    typescript-helper-functions
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.133 • Public • Published

    typescript-helper-functions

    Helper functions for Typescript

    Build Status Tests Code Coverage

    npm npm

    Install

    npm install typescript-helper-functions@latest
    

    Usage

    Base Class

    Inherit from this class to get some extra functionality

    public class Class1 extends BaseClass{
    
    }

    LogHelper

    Helper class to log in a consistent way

    const logHelper = new LogHelper(LogLevel.Trace);
    
    logHelper.LogInputs('functionName', new { param1, param2 }());

    ObjectOperations

    Helper class to invoke operations on object types

    const objectOperations = new ObjectOperations();
    
    logHelper.ToString(true);

    Orchestrator

    Helper class to invoke operations on object types

    const logger = new Logger(LogLevel.Trace);
    
    const orchestrator = new Orchestrator(logger);
    
    orchestrator.Orchestrate(() => {
      console.log('function');
    });

    Install

    npm i typescript-helper-functions

    DownloadsWeekly Downloads

    64

    Version

    1.0.133

    License

    MIT

    Unpacked Size

    76.3 kB

    Total Files

    36

    Last publish

    Collaborators

    • avatar