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

@wllzhang/xmind-to-canvas

v1.1.6

Published

Convert XMind files to JSON Canvas format

Readme

XMind to Canvas

License: MIT npm version Build Status

Convert XMind mind map files to JSON Canvas format for seamless integration in Obsidian.

JSON Canvas Format: This tool converts XMind files to the JSON Canvas format, an open file format for infinite canvas data originally created for Obsidian. JSON Canvas files use the .canvas extension and can be used in any app that supports the format.

Features

  • 📊 Convert XMind files (.xmind) to JSON Canvas format (.canvas)
  • 🎨 Automatic layout calculation using professional graph layout engine
  • 🔄 Support for multiple XMind versions (legacy, Zen, 2020+)
  • 🎯 Right-click context menu for easy conversion (plugin only)
  • ⚡ Command palette integration (plugin only)
  • 🌐 Web version available - no installation required

Usage

Option 1: Obsidian Plugin (Recommended for Obsidian Users)

Install from the Obsidian Community Plugins marketplace or manually:

  1. Download the latest release from GitHub Releases
  2. Extract files to <vault>/.obsidian/plugins/xmind-to-canvas/
  3. Reload Obsidian and enable the plugin in Settings → Community Plugins

Usage:

  • Command Palette: Press Ctrl/Cmd + P → Search "Convert XMind to Canvas" → Select file
  • File Menu: Right-click any .xmind file → Select "Convert to Canvas"

Option 2: Web Version (No Installation Required)

Use the standalone web version directly in your browser:

🌐 Open GitHub Pages

Simply upload your .xmind file and download the converted .canvas file. All processing happens in your browser - no data is uploaded to any server.

Option 3: NPM Package (For Developers)

Install as a dependency in your Node.js project:

npm install @wllzhang/xmind-to-canvas

Quick Start:

import { convertXMindToCanvas } from '@wllzhang/xmind-to-canvas';
import fs from 'fs/promises';

// Convert XMind file to Canvas format
const xmindBuffer = await fs.readFile('example.xmind');
const { canvasData } = await convertXMindToCanvas(xmindBuffer);

// Save as JSON Canvas file
await fs.writeFile('example.canvas', JSON.stringify(canvasData, null, 2));

For detailed API documentation, see API.md.

Development

npm install          # Install dependencies
npm run dev          # Development mode with watch
npm run build        # Production build (Obsidian plugin)
npm run build:web    # Build web bundle (for GitHub Pages)
npm test             # Run tests
npm run lint         # Lint code

Version Management

Versions are centrally managed:

  • Plugin version: package.json
  • Min app version: versions.json (maps plugin versions to Obsidian versions)
  • Manifest: Auto-synced during build

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT - See LICENSE for details.