https://github.com/uojo/node-stack-log
https://github.com/uojo/node-stack-log
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uojo/node-stack-log
- Owner: uojo
- Created: 2018-07-20T14:57:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T14:59:20.000Z (almost 8 years ago)
- Last Synced: 2025-06-26T09:08:08.690Z (12 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-stack-log
## Install
To install from npm:
```
npm install --save node-stack-log
```
## Usage
For Node.js:
/project/index.js
```javascript
const {elog} = require('node-stack-log');
const data = {
a: 1
}
elog(data)
// /project/index.js:6:1
// { a: 1 }
```
/project/package.json
```javascript
{
...
script:{
"test":"LOG_ENV=debug node index"
}
...
}
```
run
```
npm test
```
## ChangeLog
### 0.1.0
- first commit.