Your IP : 13.58.105.80


Current Path : /usr/lib/node_modules/npm/node_modules/npm-audit-report/reporters/
Upload File :
Current File : //usr/lib/node_modules/npm/node_modules/npm-audit-report/reporters/json.js

'use strict'

const report = function (data, options) {
  const defaults = {
    indent: 2
  }

  const config = Object.assign({}, defaults, options)

  const json = JSON.stringify(data, null, config.indent)
  return {
    report: json,
    exitCode: 0
  }
}

module.exports = report

?>