This package is a thin npm wrapper for the Python MagicMD CLI.
It does not reimplement article parsing in JavaScript. The wrapper reads its npm package version and requests the same Python package version, so magicmd@0.8.0 runs magicmd[cli,browser]==0.8.0 with:
uvx --from "magicmd[cli,browser]==0.8.0" magicmdOn Windows, the wrapper launches uvx.exe directly; on macOS and Linux, it launches uvx. The wrapper passes arguments without enabling shell execution.
- Node.js 18+
uvavailable onPATH
If uvx is missing, install uv first:
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"npm install -g magicmd
magicmd --version
magicmd batch urls.txt -o output/You can also install MagicMD directly from PyPI:
uv tool install "magicmd[cli,browser]"
pipx install "magicmd[cli,browser]"
magicmd doctorMagicMD's core implementation lives in Python so that the CLI, PyPI package, and Agent Skill use the same parsing and conversion code. The npm package is only an installation convenience for users who expect a global magicmd command from npm.