markdown-table generates GitHub flavored markdown (GFM) tables from table data (a matrix of strings). It is useful when you want to produce markdown table source code from existing data, with options to control alignment, padding, delimiters, and delimiter alignment.
Project status
- The upstream repository shows recent activity, with the latest push on 2024-10-22 and an update published (3.0.4). This suggests the project is maintained rather than dormant.
- Apparent update cadence is irregular, with 3.0.4 in 2024, then 3.0.3 in 2022, and 3.0.2 in 2021, indicating multi-year gaps between updates.
AI summary generated Today
Recent updates
3.0.4
10/22/2024markdown-table 3.0.4 is primarily a TypeScript/build improvement release, adding declaration maps and doing broader code-style refactors. The changelog mentions only those two themes, but the diff also shows several tooling, config, and test-structure changes that are not called out.
Features3.0.3
11/30/2022Release 3.0.3 primarily updates the TypeScript-facing API types to use ReadonlyArray for options and table parameters, plus minor documentation refactoring. However, the diff also contains multiple build, configuration, CI, and test-tooling changes that are not described in the release notes.
3.0.2
12/5/2021Release 3.0.2 is described in the release notes as a docs-only change (plus a typo fix). The actual diff shows much broader modifications, including large JSDoc/type documentation updates in index.js, multiple package.json tooling and devDependency changes, and a substantial README update.
3.0.1
6/22/2021Release 3.0.1 focuses on stricter typing and removing the repeat-string dependency. In the implementation, it replaces repeat-string usage with native String.prototype.repeat and updates JSDoc/tsconfig settings to support stricter TypeScript type checking.
3.0.0
3/18/2021Release 3.0.0 moves the package to ESM, adds JSDoc-based typing, and refactors the build to improve delivered size. The main code change is converting `index.js` from CommonJS `module.exports` to an ESM named export `markdownTable`, and adjusting the package metadata and build/test toolchain accordingly.
BreakingFeatures2.0.0
1/23/2020Version 2.0.0 rewrites the core table formatting algorithm and introduces new options for controlling delimiter alignment and table borders. Several formatting-related options were removed or renamed, including custom delimiter support, decimal dot alignment, and the ability to disable the alignment row.
Breaking1.1.3
5/9/2019Release 1.1.3 primarily updates project presentation (badges, README links) and performs refactoring-style changes. The published runtime API appears to remain the same, but the repository build and tooling setup was altered (CI target Node version, and minification tooling in package scripts).
1.1.2
4/19/2018Release 1.1.2 is described as a code style refactor, and the diff shows widespread formatting changes across the main source, README, and tests (for example, semicolon removal and reflowing code blocks). In addition, the repo build and CI tooling was updated (Node versions in Travis, devDependency versions, and the test/format pipeline), but no runtime/API functionality changes are clearly documented.
1.1.1
7/19/2017Release 1.1.1 is documented as a documentation-only change (refactoring docs and readme). The actual diff shows only the same four files, but it also includes CI and development tooling updates (Node version in Travis, major devDependency bumps, remark build script/config changes) plus test/readme adjustments to use strip-ansi instead of chalk.stripColor.
1.1.0
1/27/2017Release 1.1.0 primarily introduces a new `options.pad` flag to control whether markdown table cells are padded to a uniform column width. The implementation adds conditional padding logic and adjusts how separator rules are generated when padding is disabled.
Features