Skip to content

v3.0.0

Compare
Choose a tag to compare
@haltcase haltcase released this 26 Oct 03:21
FEATURES
  • rewrite in TypeScript as ESM (feb3dd1)
  • require node 14.16+ (21b6d9e)
BREAKING CHANGES
  • support for node <14.16 has been dropped.
  • tablemark must be used as an ES module and is no longer available as common js.
  • the shape of the options object to the tablemark function is simplified:
    • options.stringifyoptions.toCellText
    • options.wrap.widthoptions.wrapWidth
    • options.wrap.guttersoptions.wrapWithGutters
  • a RangeError is thrown instead of a TypeError when
    an invalid alignment is specified.