Automic VaultAutomic Vault

brew

markdown-toc を Homebrew, Nix でインストール

markdown-toc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install markdown-toc

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#markdown-toc

nixpkgs package indexes · pkgs/by-name/ma/markdown-toc/package.nix · ソース: api.github.com

概要

パッケージ概要

Generate a markdown TOC (table of contents) with Remarkable

コマンドとエイリアス

  • markdown-toc

履歴

プロジェクトの歴史と使われ方

markdown-toc is a Node.js API and CLI for generating and inserting tables of contents in Markdown files.

プロジェクトの歴史

The GitHub repository was created in 2013. The README describes markdown-toc as a tool that uses Remarkable to parse Markdown and can be used from the command line or as an API/plugin.

The project belongs to the ecosystem of README automation tools around Jon Schlinkert's packages, Verb, and Assemble-style documentation workflows. Its own README is generated with Verb using markdown-toc, making the package self-demonstrating.

採用の歴史

The official repository description says the package is used by many well-known projects and thousands of other projects. The README displays npm version/download badges and documents npm installation, while supplied package facts show Homebrew and Nix packaging as well.

使われ方

The common CLI workflow is to install markdown-toc globally, add a hidden <!-- toc --> marker to a README, and run markdown-toc -i README.md to inject or update the generated TOC. Without in-place mode, the CLI can print a TOC to standard output or JSON.

As an API, markdown-toc returns rendered content plus token data so build scripts can render a custom table of contents. Options cover heading depth, bullet style, slugification, filtering, indentation, and whether to include the first H1.

パッケージ好きにとっての重要性

markdown-toc is a classic small Unixy documentation helper: it reads Markdown, emits Markdown, and is easy to wire into README generation. Package maintainers care because it has a stable CLI surface and also doubles as a library for build-time documentation automation.

タイムライン

  • 2013: GitHub repository created.
  • 2010s: README documents npm installation and CLI/API usage for README table-of-contents generation.
  • 2026: Supplied package facts list Homebrew and Nix packaging.

Related projects

  • The README identifies Remarkable as the Markdown parser used by markdown-toc.
  • The README notes it was generated with Verb and can be used as a Remarkable plugin.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
markdown-toccliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版1.2.0
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/jonschlinkert/markdown-toc

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:markdown-toc
バージョン1.2.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/markdown-toc
ホームページhttps://github.com/jonschlinkert/markdown-toc
リポジトリhttps://github.com/jonschlinkert/markdown-toc
上流ドキュメントhttps://github.com/jonschlinkert/markdown-toc#readme
ライセンスMIT
ソースアーカイブhttps://registry.npmjs.org/markdown-toc/-/markdown-toc-1.2.0.tgz
依存関係node
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemarkdown-toc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

markdown-toc

nix profile install nixpkgs#markdown-toc
  • normalized package name match
  • 一致条件: Markdown Toc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/markdown-toc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment