'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
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
detail.js | File | 6.38 KB | 0644 |
|
install.js | File | 1.61 KB | 0644 |
|
json.js | File | 284 B | 0644 |
|
parseable.js | File | 2.95 KB | 0644 |
|
quiet.js | File | 265 B | 0644 |
|