tablemark

Generate markdown tables from JSON data.

MIT License

Downloads
178.7K
Stars
75
tablemark - v3.1.0 Latest Release

Published by haltcase 7 months ago

FEATURES
  • support eliding padding in header separator (#17) (a4d24ce), closes #16
tablemark - v3.0.0

Published by haltcase about 3 years ago

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.
tablemark - v2.0.0

Published by haltcase over 5 years ago

FEATURES
BREAKING CHANGES
  • support for node 4, 6, and < 8.10 has been dropped.
tablemark - v1.2.0

Published by haltcase almost 7 years ago

BUG FIXES
  • handle pipes in content correctly (#7) (3f803e9)
FEATURES
PERFORMANCE
  • lift regex out of function scope (6d8ab99)
tablemark - v1.1.0

Published by haltcase almost 7 years ago

Many thanks to @tjconcept for the new features in this latest release. 🎉

FEATURES
  • align cell content (cc5b883) (#1)
  • sentence case headers derived from keys (c2c97ff) (#2)
  • support custom "toString" function (0c5d79b) (#3)