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 🙏

© 2025 – Pkg Stats / Ryan Hefner

blogseq

v1.1.0

Published

BlogSeq is a Logseq plugin that exports pages to clean Markdown format with support for assets, frontmatter, and various export options.

Readme

BlogSeq - Professional Markdown Export with Bundled Assets for Logseq 🪵

CI Status Release Status MIT License Test Coverage

Transform your Logseq pages into clean, portable Markdown with all referenced images and assets automatically bundled - ready for any static site generator, blog platform, or documentation tool.

⚠️ DB Version Only | Pre-Alpha Release

🚀 The Export Flow

  1. Write in Logseq - Use blocks, references, images, and properties as normal
  2. BlogSeq Resolves Everything - Automatically finds and bundles all referenced images (even in asset properties), resolves block/page references, and converts to clean Markdown
  3. Export with Assets - Get a ZIP with your Markdown + all images in an organized /assets/ folder
  4. Use Anywhere - Compatible with Jekyll, Hugo, Gatsby, Obsidian, or any Markdown tool

Export Flow

✨ Key Features

🖼️ Automatic Asset Bundling

BlogSeq's killer feature - it finds and bundles ALL referenced images automatically:

  • Detects images in blocks, properties, and even nested references
  • Resolves UUID-based asset references to actual files
  • Creates organized /assets/ folder with all media
  • Updates all links to relative paths

Assets in ZIP

📊 YAML Frontmatter for Static Sites

Converts Logseq properties into standard YAML frontmatter - perfect for Jekyll, Hugo, Gatsby:

Logseq Properties: Logseq Properties

↓ Becomes Clean YAML Frontmatter: YAML Frontmatter

🔗 Complete Reference Resolution

  • Resolves ((block references)) to actual content
  • Converts [[page links]] to readable text
  • Handles nested and complex references
  • Even resolves images referenced by UUID in properties

Real-Time Preview

See exactly what you'll get before exporting: Export Preview

Export Options

Customize your export with simple checkboxes:

  • Page Name as Header - Add title as H1
  • Flatten Blocks - Clean paragraph format
  • Include Properties - YAML frontmatter for static sites
  • Preserve References - Resolve block/page links
  • Clean Syntax - Remove Logseq-specific markup

Settings Panel

🚀 Quick Start

Installation

From Marketplace (Recommended)

  1. Settings → Plugins → Search "BlogSeq" → Install

Manual Installation

  1. Download from Releases
  2. Settings → Enable Developer Mode → Load unpacked plugin

Usage

Three ways to export:

  1. Toolbar - Click BlogSeq icon
  2. Slash Command - Type /Export page to markdown
  3. Right-Click - Any page → "Export to Markdown"

📖 How It Works

Export Options

  • 📄 Copy to Clipboard - Quick paste anywhere
  • 💾 Download Markdown - Single .md file
  • 📦 Download ZIP - Markdown + all assets bundled

Asset Magic 🪄

BlogSeq automatically converts:

[[uuid-reference-to-image]] → ![Image](assets/image.png)
((block-with-image))       → Content with ![Image](assets/pic.jpg)
property:: [[asset-uuid]]  → property: assets/document.pdf

All images and assets are bundled in the ZIP export - no broken links!

⚙️ Configuration

Settings → Plugin Settings → BlogSeq

  • assetPath: Customize asset folder name (default: "assets/")
  • autoPreview: Show preview on open (default: true)
  • Set default export options for all exports

🛠️ Development

git clone https://github.com/briansunter/blogseq.git
cd blogseq
pnpm install
pnpm dev     # Development with HMR
pnpm build   # Production build

Tech Stack: React 18 • TypeScript • Vite • TailwindCSS • JSZip

🧪 Testing

BlogSeq has comprehensive test coverage with 134+ tests across unit, component, and integration tests:

Run Tests

pnpm test              # Watch mode
pnpm test:coverage     # Generate coverage report
pnpm test:ui           # Interactive test dashboard

Test Structure

  • Unit Tests (70%): Core export logic, hooks, utilities
  • Component Tests (20%): React components, UI interactions
  • Integration Tests (10%): End-to-end workflows, ZIP generation, asset handling

Code Quality

  • Type Checking: pnpm typecheck (TypeScript strict mode)
  • Linting: npx eslint src (zero warnings)
  • Coverage: 80%+ across all metrics
  • Pre-commit Hooks: Automatic checks on every commit

See TESTING.md for detailed testing documentation, best practices, and troubleshooting.

🤝 Contributing

Contributions welcome! Open an issue or submit a PR.

📜 License

MIT © Brian Sunter

💬 Links