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
- Host: GitHub
- URL: https://github.com/argonlaser/node-stalker
- Owner: argonlaser
- License: mit
- Created: 2017-02-28T18:00:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T16:31:50.000Z (over 9 years ago)
- Last Synced: 2025-07-10T10:50:13.766Z (12 months ago)
- Topics: debugging, javascript, line, logging, logging-library, nodejs, npm
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/argonlaser/node-stalker/blob/master/LICENSE)
[](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 !