Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
| `override` | `object` | `{}` | Object of dependencies to override, in the format `{"<dependency name>@<version range>": { ... }}`. For example, `{"assignment@^2.0.0": { licenseName: "MIT" }}`. |
| `emitError` | `boolean` | `false` | Whether to emit errors instead of warnings. |
| `outputWriter` | `string` or `function` | See [`defaultOutputWriter`](./src/defaultOutputWriter.js). | Path to a `.ejs` template, or function that will generate the contents of the third-party notices file. |
| `outputFilename` | `string` | `"ThirdPartyNotices.txt"` | Name of the third-party notices file with all licensing information. |
| `outputFilename` | `string` | `"ThirdPartyNotice.txt"` | Name of the third-party notices file with all licensing information. |

The data that gets passed to the `outputWriter` function looks like this:

Expand Down