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

@sinups/fmap

v0.0.4

Published

fmap is a lightweight tool that visualizes your file and folder structure in a clean, readable tree view — perfect for documentation, READMEs, and project overviews.

Readme

fmap - File Map Component

npm version npm downloads License: MIT

Interactive tree component for visualizing file structures in Mantine applications.

fmap stands for "file map" — a component for displaying hierarchical file and folder structures.

Installation

npm install @sinups/fmap
# or
yarn add @sinups/fmap

Features

  • 🌳 Interactive tree visualization
  • ✅ Checkbox support for multi-selection
  • 🎨 Customizable rendering
  • ⌨️ Keyboard navigation
  • 🎯 Controlled and uncontrolled modes
  • 📦 Built with Mantine UI

Quick Start

import { Tree } from '@sinups/fmap';
import '@sinups/fmap/styles.css';

const data = [
  {
    label: 'src',
    value: 'src',
    children: [
      { label: 'index.ts', value: 'src/index.ts' },
      { label: 'App.tsx', value: 'src/App.tsx' },
    ],
  },
];

function Demo() {
  return <Tree data={data} />;
}

Local development

To develop your extension locally, run the following commands:

  • Run npm run storybook to start the storybook
  • Run npm run dev to start the documentation
  • To regenerate props documentation, run npm run docgen

Releases

How it works

Releases are automated using Conventional Commits. When you merge to main with a properly formatted commit message, GitHub Actions will automatically:

  • 🧪 Run tests
  • 📦 Build and publish to npm
  • 🏷️ Create GitHub Release
  • 📚 Deploy documentation to GitHub Pages

Commit Format

The version bump is determined by your commit message:

  • feat: new featureminor version (0.1.0 → 0.2.0)
  • fix: bug fixpatch version (0.1.0 → 0.1.1)
  • feat!: breaking changemajor version (0.1.0 → 1.0.0)

Examples

# New feature (minor release)
git commit -m "feat: add drag and drop support"

# Bug fix (patch release)
git commit -m "fix: resolve tree rendering issue"

# Breaking change (major release)
git commit -m "feat!: redesign component API"

# With scope
git commit -m "fix(tree): correct node selection"

# No release (docs, chore, style, test, refactor)
git commit -m "docs: update README"

Workflow

  1. Create a feature branch:

    git checkout -b feat/my-feature
  2. Make your changes and commit:

    git add .
    git commit -m "Add awesome new feature"
  3. Push and create a Pull Request with a conventional commit title:

    git push origin feat/my-feature

    PR Title Format: type: description

    • feat: add new feature → minor bump (0.1.0 → 0.2.0)
    • fix: resolve bug → patch bump (0.1.0 → 0.1.1)
    • feat!: breaking change → major bump (0.1.0 → 1.0.0)
    • docs: update documentation → no release
    • chore: update dependencies → no release
    • Add new feature (missing type)

    Valid types: feat, fix, feat!, fix!, docs, chore, refactor, test, ci

  4. Merge using "Squash and merge" - This creates one commit with your PR title

  5. Automatic release happens:

    • If PR title starts with feat: or fix:, GitHub Actions will:
      • Bump version in package.json
      • Create a commit: v0.0.3
      • Publish to npm
      • Create GitHub release
      • Deploy documentation
    • Result: Main branch shows clean version commits (v0.0.1, v0.0.2, v0.0.3)

Main Branch Structure

The main branch maintains a clean history with two types of commits:

  • Feature/Fix commits from squashed PRs (e.g., feat: add drag support)
  • Version commits from automated releases (e.g., v0.0.3)

This approach:

  • ✅ No force pushes
  • ✅ Linear history
  • ✅ Clear version tracking
  • ✅ Easy to understand what changed in each release

Manual Release

If needed, you can still release manually:

npm run release:patch  # 0.1.0 → 0.1.1
npm run release:minor  # 0.1.0 → 0.2.0
npm run release:major  # 0.1.0 → 1.0.0

Documentation

For detailed information, see RELEASE_AUTOMATION.md

Links

License

MIT