1.0.0 • Published 6 years ago

whocalled v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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

1.0.0

6 years ago