# Install markdown-toc-gen with npm

Generating and updating table of contents in Markdown files which conform with prettier. Version 1.2.0 via npm; verified 2025-03-31.

## Install

```sh
sudo av install npm:markdown-toc-gen
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g markdown-toc-gen
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:markdown-toc-gen
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/markdown-toc-gen>
- **Version:** 1.2.0
- **Source summary:** Generating and updating table of contents in Markdown files which conform with prettier.
- **Homepage:** <https://github.com/thesilk-tux/markdown-toc-gen>
- **Repository:** <https://github.com/thesilk-tux/markdown-toc-gen>
- **Upstream docs:** <https://github.com/thesilk-tux/markdown-toc-gen>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/markdown-toc-gen/-/markdown-toc-gen-1.2.0.tgz>
- **Issue tracker:** <https://github.com/thesilk-tux/markdown-toc-gen/issues>
- **Published:** 2025-03-31T18:59:55.726Z
- **Last updated:** 2025-03-31T18:59:55.726Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- markdown-toc-gen (cli)
- markdown-toc-gen (alias)

## Dependencies

- jest-diff
- yargs

## Build dependencies

- @babel/core
- @babel/plugin-proposal-decorators
- @babel/preset-env
- @babel/preset-typescript
- @eslint/eslintrc
- @eslint/js
- @types/jest
- @types/node
- @types/yargs
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- babel-jest
- eslint
- eslint-config-prettier
- eslint-plugin-jest
- eslint-plugin-prettier
- globals
- jest
- prettier
- prettier-eslint
- ts-node
- typescript

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.0
- Package-manager updated: 2025-03-31
- Local data: ok
- Upstream repository: https://github.com/thesilk-tux/markdown-toc-gen
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for markdown-toc-gen. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.2.0
- **Version Count:** 14
- **Maintainers:** thesilk
- **Author:** TheSilk
- **Publisher:** thesilk
- **Integrity:** sha512-+8eDFxBDC08XpBa8NdHaU0kDUGrc2XLn/3xCdzZZ0MWQ3ZvUhkdCAINeUwcGjhJ3zkBbfiVVWscORvI1UzO9sQ==
- **Shasum:** e7d6d02e396eebc8066dda032a4a81c3c1760783
- **Unpacked Size:** 29,238
- **File Count:** 0
- **Created At:** 2021-02-13T14:20:21.952Z
- **Latest Published At:** 2025-03-31T18:59:55.726Z
- **Modified At:** 2025-03-31T18:59:55.900Z


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [markdown-toc](https://www.automicvault.com/pkg/npm/markdown-toc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, contents, developer, developer-tools, documentation.
- [markdown-link-check](https://www.automicvault.com/pkg/npm/markdown-link-check/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, documentation, markdown.
- [markdown-spellcheck](https://www.automicvault.com/pkg/npm/markdown-spellcheck/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, documentation, files.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
