npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@podosoft/podokit-module-blog

v1.0.2

Published

PodoKit blog module with draft-first publishing, visibility controls, image uploads, comments, pagination, and admin management.

Readme

@podosoft/podokit-module-blog

Authenticated publishing, Markdown image uploads, flat comments, pagination, and admin management for a PodoKit application. Backend and reusable web logic remain PodoKit-managed; route wrappers are app-owned so each site can supply its own visual design and SEO policy.

Install

bun add --dev @podosoft/podokit-module-blog
podo add blog
bun install
bun run --cwd apps/api migration:run

When adopting an existing blog whose backend paths are currently app-owned, use podo add blog --adopt. Review podo diff before applying later module updates.

Update

bun update @podosoft/podokit-module-blog
podo update
podo update --apply

Route wrappers remain application-owned and are not overwritten by podo update. When upgrading from 0.3.x to 0.4.x, update each owned BlogEditor wrapper to pass showPost, showPostHelp, uploadCover, and removeCover in its BlogEditorLabels. Remove the former admin prop from the admin wrapper. The corresponding strings arrive in the managed blog catalog. The current seed also adds routes/blog/+layout.svelte, which renders the shared AccountMenu in the top-right corner. Existing customized blog layouts should place the same managed component in their site header instead of duplicating its menu logic.

The admin wrapper lives under routes/(admin)/admin/blog. When upgrading alongside the admin-dashboard route-group migration, update this package before running podo update; the CLI then moves the owned wrapper with the rest of the admin route tree without overwriting local changes.

Posts start as drafts for every authenticated author. The Show post switch includes a post in public lists and detail pages; turning it off hides the post without changing its first publication time or list position. Authors can find both drafts and published posts under /blog/mine, edit or delete their own posts and comments, and admins can manage all content. Deleting a user keeps their content with its author snapshot, while deleting a post also deletes its comments.

BlogEditor and BlogProse share the same safe GFM renderer, so blockquotes, ordered lists, tables, and other supported Markdown have the same markup and presentation before and after publishing. Application-owned article routes should render the body with BlogProse, passing both markdown and the post title.

Signed-in authors can select Add image in BlogEditor. PNG, JPEG, GIF, WebP, and AVIF files up to 5 MB are stored in object storage and inserted at the current cursor as Markdown. Blog images use the stable public path /api/blog/images/:id; they do not use expiring presigned URLs. SVG uploads are intentionally unsupported. The same upload flow supports a cover image, with an immediate editor preview.