lambda-console

0.1.2 • Public • Published

lambda-console

Console for Lambda.

Installation

npm i lambda-console

Usage

const {
  log,
  info,
  dir,
  error,
  warn,
  debug,
} = require('lambda-console');
 
// This is equivalent to console.log.
log('foo %s', 'bar');
 
// If there is one argument and it is an object, it is outputted as JSON.
log({ foo: 'bar' });

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i lambda-console

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

6.4 kB

Total Files

5

Last publish

Collaborators

  • nak2k