Class: DescriptionParser
Defined in: | src\components\description.coffee |
Overview
Creates a description
Variables Summary
- name =
-
"DescriptionParser"
Instance Method Summary
- # (void) run(pkg) Create license information by concatenating options.addDescription to pkg.description, separated by two line breaks.
Constructor Details
#
(void)
constructor(options)
Creates a new DescriptionParser that enhances the description. addDescription can optionally be given as an array of strings that will be concatenated by the module. This is to enhance readability of package.json
Instance Method Details
#
(void)
run(pkg)
Create license information by concatenating options.addDescription to
pkg.description, separated by two line breaks.
@returns [Promise