{"_id":"@adhipk/pomelo","name":"@adhipk/pomelo","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@adhipk/pomelo","version":"0.1.0","description":"Watch, build, and serve a directory of Markdown files with Bun and Pandoc.","type":"module","bin":{"pomelo":"mdserve.ts"},"publishConfig":{"access":"public"},"scripts":{"build":"bun build --compile --minify --outfile pomelo mdserve.ts"},"_id":"@adhipk/pomelo@0.1.0","_nodeVersion":"22.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-INaJ/OSKJJkB1WWWmHAcYvj+u94P9+fBN/4pB4CLjkUXg7m6Jt7QuCYn+VMcAcCWh7ubHEsbPJJakAA3JlUhsw==","shasum":"3078104cdc63992526b07d2a70be18031beee5ac","tarball":"https://registry.npmjs.org/@adhipk/pomelo/-/pomelo-0.1.0.tgz","fileCount":3,"unpackedSize":9450,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH3JYLDsI3nLk0UpWSmFL24tOQGmTJAurQqxFY1E+kKiAiBclYB8IFPuN9VPt14krAU+ucmr9uoSjlY0Q827MySQHA=="}]},"_npmUser":{"name":"adhipk","email":"adhip.kashyap@gmail.com"},"directories":{},"maintainers":[{"name":"adhipk","email":"adhip.kashyap@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pomelo_0.1.0_1786691354886_0.27292820205314006"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-14T07:09:14.745Z","0.1.0":"2026-08-14T07:09:15.036Z","modified":"2026-08-14T07:09:15.265Z"},"maintainers":[{"name":"adhipk","email":"adhip.kashyap@gmail.com"}],"description":"Watch, build, and serve a directory of Markdown files with Bun and Pandoc.","readme":"# mdserve\n\nRecursively converts Markdown to neighboring HTML files with Pandoc, watches for changes, and serves the directory on localhost using Bun's built-in HTTP server.\n\n## Run with bunx\n\nRequires `bun` and `pandoc`:\n\n```sh\nbunx @adhipk/pomelo\nbunx @adhipk/pomelo path/to/site\nbunx @adhipk/pomelo path/to/site --port 8080\n```\n\nFor local development, run the source directly:\n\n```sh\nbun run mdserve.ts path/to/site\n```\n\n## Build\n\nBuild on the machine where the binary will run:\n\n```sh\nbun run build\n```\n\nThe output is `pomelo`. The only runtime dependency is `pandoc`; the compiled binary includes Bun and serves files directly.\n\n## Run the compiled binary\n\n```sh\n./pomelo\n./pomelo path/to/site\n./pomelo path/to/site --port 8080\n```\n\nWhen stopped, it deletes only HTML files that did not exist before it started. Existing HTML files may be rebuilt but are never deleted.\n","readmeFilename":"README.md","_rev":"1-af491ff766f3c87e6111cde835b34b20"}