{"repo":"privatenumber/mdeval","free":true,"listed":false,"github":"https://github.com/privatenumber/mdeval","clone":"git clone https://github.com/privatenumber/mdeval.git","description":"Evaluate JavaScript in Markdown and interpolate results in-place","language":"TypeScript","stars":58,"topics":["cli","dynamic","eval","javascript","markdown","nodejs","readme"],"license":"MIT","category":"cli-tools","readme_excerpt":"mdeval Ever wanted dynamic values in your Markdown — package versions, star counts, computed tables — without a separate generation script that's easy to forget about? mdeval embeds JavaScript directly in your Markdown using HTML comments. The logic lives right next to the content it produces, and the file renders normally everywhere — GitHub, editors, any Markdown viewer — because HTML comments are invisible. Any value that matters — a dependency count, a version string, a benchmark result — is computed, not typed. Whether written by a person or an AI agent, the expression shows the work and anyone can verify it. Re-run mdeval and every value updates. [!TIP] Particularly useful for knowledge bases — contact lists, project trackers, changelogs, or any Markdown that functions as a source of truth. Values stay accurate on every run, so nothing drifts. AI agents reading the files also benefit: pre-computed values mean they don't need to re-process raw data across multiple documents, cutting token usage significantly. Install Quick start mdeval adds two types of HTML comments to your Markdown: A script block is where you write JavaScript. It starts with and is the current value — it gets overwritten with the result of pkg.version every time you run mdeval: The file is updated in-place. You can pass multiple files or glob patterns: mdeval README.md \"docs/ / .md\" . node modules and hidden directories are automatically excluded from glob expansion. Example CONTACTS.md — a contact li","default_branch":null,"files":null,"tree":[],"storefront":"/r/privatenumber","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/privatenumber/mdeval/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}