Your IP : 18.191.91.15


Current Path : /lib/node_modules/npm/node_modules/npm-audit-report/reporters/
Upload File :
Current File : //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

?>