0.1.0 • Published 6 years ago

node-stack-log v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

node-stack-log

Install

To install from npm:

npm install --save node-stack-log

Usage

For Node.js:

/project/index.js

const {elog} = require('node-stack-log');
const data = {
  a: 1
}

elog(data)
// /project/index.js:6:1
// { a: 1 }

/project/package.json

{
  ...
  script:{
    "test":"LOG_ENV=debug node index"
  }
  ...
}

run

npm test

ChangeLog

0.1.0

  • first commit.