REDROOM
PHP 8.1.33
Path:
Logout
Edit File
Size: 1.50 KB
Close
//lib/node_modules/npm/node_modules/npm-audit-report/README.md
Text
Base64
# npm audit security report Given a response from the npm security api, render it into a variety of security reports [](https://travis-ci.org/npm/npm-audit-report) [](https://ci.appveyor.com/project/evilpacket/npm-audit-report/branch/master) [](https://coveralls.io/github/npm/npm-audit-report?branch=master) The response is an object that contains an output string (the report) and a suggested exitCode. ``` { report: 'string that contains the security report', exit: 1 } ``` ## Basic usage example ``` 'use strict' const Report = require('npm-audit-report') const options = { reporter: 'json' } Report(response, options, (result) => { console.log(result.report) process.exitCode = result.exitCode }) ``` ## options | option | values | default | description | | :--- | :--- | :--- |:--- | | reporter | `install`, `detail`, `json`, `quiet` | `install` | specify which output format you want to use | | withColor | `true`, `false` | `true` | indicates if some report elements should use colors | | withUnicode | `true`, `false` | `true` | indicates if unicode characters should be used|
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
lib
DIR
-
drwxr-xr-x
2024-03-03 22:36:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
reporters
DIR
-
drwxr-xr-x
2024-03-03 22:36:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CHANGELOG.md
3.07 KB
lrw-r--r--
2021-03-10 14:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
588 B
lrw-r--r--
2021-03-10 14:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
LICENSE
755 B
lrw-r--r--
2021-03-10 14:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package.json
1.94 KB
lrw-r--r--
2021-03-10 14:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
README.md
1.50 KB
lrw-r--r--
2021-03-10 14:36:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).