console-caller

v1.0.2
console-caller lets you easily print the call site of console functions. It can be useful in large codebases where there are a lot of logs. Do you want to easily find out which line of your code is printing that thing? This is the right module for you!

example

env NODE_ENV=development node examples/example.js

lint-fix

standard --fix index.js examples/*js tests/*.js

watch

npm-watch

coverage

tap --cov tests/*.js

test

tap tests/*.js
npm i console-caller

Metadata

  • MIT
  • >6.0.0
  • phra
  • released 5/1/2018

Downloads

Maintainers