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

@lauvivans/kami

v3.0.0

Published

A Notion-based portfolio

Downloads

3,074

Readme

Kami

A Vue component library for building a portfolio that looks and works like Notion: a sidebar with nested pages, tabs, themes and Notion-style blocks. It ships as the npm package @lauvivans/kami, with a CLI that creates a new portfolio from a template.

The idea came from Nitin Ranganath's VS Code Portfolio. Documentation and a demo: kami.arualvivan.com.

Features

  • Sidebar with the author, Favorites and nested pages. It can be pinned open or closed.
  • Tabs for navigation, as in Notion Desktop. Open tabs survive a reload.
  • Four themes: Light, Dark, Catppuccin Latte and Catppuccin Mocha.
  • Page settings: font (Default, Serif or Mono, from the system fonts), small text and full width.
  • Blocks for page content: text, headings, code with syntax highlighting, callouts, lists, columns, links, bookmarks, images and a database gallery.
  • Preferences are kept in the browser's local storage. There is no backend.
  • Search is not built yet.

The full list is in docs/product/requirements.md.

Requirements

Node.js ^20.19.0 || >=22.12.0, for both the CLI and the project it creates. CI creates and builds a project on Node 20.19.0, 22.12.0 and the version in .nvmrc.

On Node versions below 22.22, npm install prints EBADENGINE warnings for chokidar, ast-walker-scope and the ast-kit and @babel/* 8 packages under it. They all come from vue-router 5 and are only used by its file-based routing plugin (vue-router/vite), which Kami doesn't use, so the project still installs and builds.

Create a portfolio

npx @lauvivans/kami my-portfolio

The CLI copies the template into ./my-portfolio (the name defaults to my-portfolio), installs its dependencies and then installs @lauvivans/kami. The template has one example page, a banner and an icon. It stops with an error if the folder already exists.

cd my-portfolio
npm run dev

Each page is a Vue component listed in src/metadata/index.ts. The client docs explain how to add pages and deploy.

Develop locally

Use the Node version in .nvmrc.

git clone https://github.com/lauvivans/kami.git
cd kami
npm install
npm run dev

npm run dev serves the documentation site in src/, which imports the library from packages/core/, so it also works as the playground.

| Script | What it does | | ------------------- | ------------------------------------------------ | | npm run dev | Serves the documentation site. | | npm run build | Type checks and builds the site into dist/. | | npm run build:pkg | Type checks and builds the package into dist/. | | npm run lint | Runs ESLint. | | npm run format | Runs Prettier on the repository. | | npm test | Runs the Vitest tests. | | npm run test:cli | Runs the CLI from the local clone. |

Branches and releases

Kami follows GitHub flow (decision 003):

  • main is the only long-lived branch. Each change goes in a branch named <type>/<issue>-kebab-case-name and is opened as a pull request into main.
  • The pull request title follows Conventional Commits. Pull requests are squash-merged, so the title becomes the commit on main.
  • The pull request description follows the template, which GitHub fills in when the pull request is opened: summary, changes, how it was tested, dependencies (when any changed), a checklist and the issue it closes.
  • release-please keeps a Release PR open with the next version and its changelog (decision 004). Each merge updates it when the commit calls for a release: fix and perf add a patch, feat a minor, and ! or a BREAKING CHANGE footer a major. chore, docs, test, ci and refactor add nothing.
  • Merging the Release PR tags the version, creates a draft GitHub release and stages the package on npm. A maintainer approves it with 2FA on npmjs.com, which puts the version live, and then publishes the draft release on GitHub.

Design decisions are in docs/decisions/.

Tools

Vue.js Badge TypeScript Badge Pinia Badge Sass Badge Vite Badge Vitest Badge

License

MIT