An open API service indexing awesome lists of open source software.

https://github.com/argonlaser/node-stalker

Stalk your code and debug
https://github.com/argonlaser/node-stalker

debugging javascript line logging logging-library nodejs npm

Last synced: about 2 months ago
JSON representation

Stalk your code and debug

Awesome Lists containing this project

README

          

[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/argonlaser/node-stalker/blob/master/LICENSE)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](http://standardjs.com/)

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](https://github.com/argonlaser/node-stalker/blob/master/examples/example.js)

To run the example, give:
```
node examples/example.js
```

Thanks
=========
[Stack-trace](https://www.npmjs.com/package/stack-trace)

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