good-squeeze-pretty

1.0.4 • Public • Published

#good-squeeze-pretty

A simple pretty-printer for the output of good-squeeze's safejson component. Accepts tab width as the only argument, which defaults to 2.

#usage

const goodOptions = {
  ops: {
    interval: 1000
  },
  reporters: {
    file: [{
      module: 'good-squeeze',
      name: 'Squeeze',
      args: [{ ops: '*' }]
    }, {
      module: 'good-squeeze',
      name: 'SafeJson'
    }, {
      module: 'good-squeeze-pretty',
      args: [4]
    }, {
      module: 'good-file',
      args: ['./file.log']
    }]
  }
};

#see also good good-squeeze

Readme

Keywords

none

Package Sidebar

Install

npm i good-squeeze-pretty

Weekly Downloads

14

Version

1.0.4

License

MIT

Last publish

Collaborators

  • jacobabba