node-stalker

1.0.1 • Public • Published

Node-Stalker

Node-Stalker is a tiny nodejs library that stalks your code and helps you debug.

Install

npm install --save-dev node-stalker

Why node-stalker?

  1. It is tiny and easy to log.
  2. It can be used to log current file, function and line with ease.
  3. It can log additional optional variables passed to it.
  4. It can save same developer efforts while tracking down the code workflow.
  5. It works in browser as well.

Usage

var stalk = require('node-stalker');

stalk()

Examples

example.js

To run the example, give:

node examples/example.js

Thanks

Stack-trace

Thanks for checking out the package. Feel free to open an issue or submit a PR !

Package Sidebar

Install

npm i node-stalker

Weekly Downloads

60

Version

1.0.1

License

MIT

Last publish

Collaborators

  • argonlaser