Module: szero

Methods


fileReport(directory [, options])

File Format Reporter
Parameters:
Name Type Argument Description
directory string path to your project
options object <optional>
Returns:
- returns a Promise with the repoter values as a String in the File Format
Type
Promise

report(directory [, options])

JSON Reporter
Parameters:
Name Type Argument Description
directory string path to your project
options object <optional>
Properties
Name Type Argument Description
license boolean <optional>
If true, will fetch license information for each dependency. default: false
Returns:
- returns a Promise with the repoter values as JSON
Type
Promise