Nocturnal Programmer's Machine
    Have ideas to improve npm?Join in the discussion! »

    node-tracer

    1.0.2 • Public • Published

    What is this?

    Very very light weight tracer for basic logging details, Install the node-tracer package and require, the function name and line number will be consoled when each console.log happens!

    Installation

    npm i node-trace --save

    Then...

    app.js

    require('node-trace');
    
    or
    
    import node-trace
    
    

    That's it! now whenever you console it prints along with the function name and line number

    image

    Install

    npm i node-tracer

    DownloadsWeekly Downloads

    5

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    1.82 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar