function gulpDecomment(options) { return main(options, decomment); }
n/a
html = function (options) { return main(options, decomment.html); }
...
Unlike the default **strip** method, it instructs the library that `text` is not a JSON, JavaScript or HTML, rather a plain text
that needs no parsing or validation, only to remove `//` and `/**/` comments from it according to the `options`.
This method is good for any text file that uses syntax `//` and `/**/` for comments, such as: `.CSS`, `.CPP`, `.H`, etc.
Please note that while the same rules apply for the text blocks (`''`, `""` and \`\`), you should not use this
method for JSON or JavaScript, as it can break your regular expressions.
### [strip.html(options)](https://github.com/vitaly-t/decomment#decommenthtmlhtml-options
--string)
Unlike the default **strip** method, it instructs the library not to parse
or validate the input in any way, rather assume it to be HTML, and remove all
`<!-- comment -->` entries from it according to the `options`.
### [strip.getEOL()](https://github.com/vitaly-t/decomment#decommentgeteoltext--string)
...
text = function (options) { return main(options, decomment.text); }
...
##### options.trim ⇒ Boolean
* `false (default)` - do not trim comments
* `true` - remove empty lines that follow removed full-line comments
NOTE: This option has no effect when option `space` is enabled.
### [strip.text(options)](https://github.com/vitaly-t/decomment#decommenttexttext-options
--string)
Unlike the default **strip** method, it instructs the library that `text` is not a JSON, JavaScript or HTML, rather a plain text
that needs no parsing or validation, only to remove `//` and `/**/` comments from it according to the `options`.
This method is good for any text file that uses syntax `//` and `/**/` for comments, such as: `.CSS`, `.CPP`, `.H`, etc.
Please note that while the same rules apply for the text blocks (`''`, `""` and \`\`), you should not use this
method for JSON or JavaScript, as it can break your regular expressions.
...