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

@lupinum/ginko

v0.16.5

Published

Ginko: a typed, file-based content model for Nuxt sites (core, CLI and Nuxt module).

Readme

@lupinum/ginko

Connect a Nuxt site with its content. The site stays normal Nuxt code; the content arrives as one JSON bundle per language, either from the hosted Ginko platform (owners edit opening hours, menus, events) or from Markdown files in your repo (with @lupinum/ginko-content).

Start

npm create ginko my-site

Or add it to an existing Nuxt 4.6+ or Nuxt 5 site:

npm install @lupinum/ginko @lupinum/ginko-content
// ginko.config.ts: the bricks (content types) of this site
import { collection, defineSite, f } from '@lupinum/ginko'

export default defineSite({
  site: 'my-site',
  name: 'My site',
  url: 'https://example.com',
  timeZone: 'Europe/Vienna',
  locales: ['en'],
  currency: 'EUR',
  pages: { home: '/' },
  bricks: {
    events: collection({
      label: 'Events',
      source: 'files', // read from content/events/*.md; without `source` the brick needs the Ginko platform
      fields: { title: f.text('Title'), date: f.date('Date') },
      max: 50,
      order: { field: 'date', dir: 'asc' },
    }),
  },
})

One file per entry, for example content/events/opening.md:

---
title: Opening night
date: 2026-11-05
---
// nuxt.config.ts
import ginko from './ginko.config.ts'

export default defineNuxtConfig({ modules: ['@lupinum/ginko/nuxt'], ginko })
<script setup lang="ts">
const events = useGinko('events') // typed from ginko.config.ts
</script>

What is in the package

  • @lupinum/ginko: defineSite, single, collection, f, defineComponents, formatMoney, plainText, safeHref, startOfWeek and the documented types.
  • @lupinum/ginko/nuxt: the Nuxt module. It fetches and caches the bundle, adds the composables (useGinko, useGinkoEntry, useGinkoQuery, useGinkoNeighbors, useGinkoNav, useGinkoBreadcrumbs, useGinkoToday, useGinkoWeek, useGinkoLocale, useGinkoPath, useGinkoSeo and more), the components <GinkoMarkdown> and <GinkoImage>, a sitemap, and languages through @lupinum/ginko-i18n.
  • @lupinum/ginko/vue: <GinkoMarkdown :value> for a Vue 3 app without Nuxt: takes a parsed MarkdownTree, renders at once (no <Suspense>), and uses only the components you pass. Pass the site's components as registry too: a component keeps only the props its registry declares.
  • ginko: the CLI. ginko check checks the config and the content links of every site (use it in CI; --offline needs no platform key); release and export work with the hosted platform. Every run prints one JSON line and ends with a documented exit code.

Stability

@lupinum/ginko, @lupinum/ginko/nuxt, @lupinum/ginko/vue, @lupinum/ginko/search and @lupinum/ginko/basics are the public API. Every name they export is documented on the docs site. pos and retired on fields and bricks are set by the platform; do not set them. Until 1.0, a minor release may still break it, and the changelog names the break. @lupinum/ginko/internal and @lupinum/ginko/internal/search are for Ginko's own packages. They can change in any release, so do not import them in a site.

Docs

Getting started · Bricks · Reading content · Languages · Content from files · Platform and CLI

License

MIT © Lupinum OG