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

    whocalled

    1.0.0 • Public • Published

    whocalled

    CircleCI

    Get the calling file and line number for logging in NodeJS

    Installation

    npm install whocalled
    
    OR
    
    yarn add whocalled
    

    Usage

    You can pretty much use this anywhere. It was designed with console logging in mind though.

    const whoCalled = require('./index');
    
    console.log(whoCalled(), 'Testing');
    

    Contributing

    Feel free to submit issues and/or PRs! In lieu of a formal style guide, please follow existing styles.

    Licence

    MIT

    Install

    npm i whocalled

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar