Class: Commented
| Defined in: | src/commented.coffee |
| Inherits: | stream.Transform |
Overview
Generate the expanded format of RFC 7049, section 2.2.1
Class Method Summary
- . (void) comment(input, options, cb) Comment on an input Buffer or string, creating a string passed to the callback.
Class Method Details
.
(void)
comment(input, options, cb)
Comment on an input Buffer or string, creating a string passed to the callback. If callback not specified, output goes to stdout.
Constructor Details
#
(void)
constructor(options = {})
Create a CBOR commenter.