Class: Unparam

unparam~ Unparam

new Unparam(options) → {Unparam#unparam}

The unparam object. If called without new, it will behave as if its unparam function had been called.
Parameters:
Name Type Description
options object The options object
Properties
Name Type Description
trace boolean Whether to turn on tracing
readFiles boolean Whether to read the source files and grab the line of the calls
writeFile string | Writable The filename to write with the report, or a writable stream
Source:
Returns:
This instance's unparam reporter function
Type
Unparam#unparam

Methods

unparam() → {void}

Prepares and captures a stack trace, which will give the line number, filename, column, and optionally the actual source code
Source:
Returns:
Type
void