Skip to content

argonlaser/node-stalker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

license Standard - JavaScript Style Guide

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 !