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

mktcms

v0.3.12

Published

Simple CMS module for Nuxt

Downloads

2,601

Readme

MktCMS

A file based CMS for self-hosted Nuxt apps.

Screenshot of Admin UI

This is my personal, minimalist alternative to @nuxt/content and Studio, which are fantastic projects, but sometimes lacking the kind of complete documentation I’m looking for. Over time I will maybe migrate more and more (MDC already supported), and just keep the website template and the server utility. If you find this useful, feel free to use it and contribute to it.

npm version npm downloads License Nuxt

Features

  • Simple Admin UI with Git integration to manage content
  • Composables to use the content in your Nuxt app
  • sendMail utility to send emails via SMTP
  • MDC support

Setup

npx nuxi module add mktcms
NUXT_PUBLIC_MKTCMS_SITE_URL="http://localhost:3000"
NUXT_PUBLIC_MKTCMS_SHOW_VERSIONING=false

NUXT_MKTCMS_ADMIN_AUTH_KEY="your-admin-auth-key"
NUXT_MKTCMS_AUTH_COOKIE_MAX_AGE_SECONDS=604800
NUXT_MKTCMS_AUTH_COOKIE_PATH="/"
NUXT_MKTCMS_AUTH_COOKIE_SAME_SITE="lax"
NUXT_MKTCMS_AUTH_COOKIE_SECURE=true
NUXT_MKTCMS_LOGIN_RATE_LIMIT_MAX_ATTEMPTS=5
NUXT_MKTCMS_LOGIN_RATE_LIMIT_WINDOW_SECONDS=300
NUXT_MKTCMS_LOGIN_RATE_LIMIT_BLOCK_SECONDS=600
NUXT_MKTCMS_UPLOAD_MAX_BYTES=52428800

NUXT_MKTCMS_SMTP_HOST="your-smtp-host"
NUXT_MKTCMS_SMTP_PORT=465
NUXT_MKTCMS_SMTP_SECURE=true
NUXT_MKTCMS_SMTP_USER="your-smtp-user"
NUXT_MKTCMS_SMTP_PASS="your-smtp-pass"
NUXT_MKTCMS_MAILER_FROM="your-mailer-from-address"
NUXT_MKTCMS_MAILER_TO="your-mailer-to-address"

NUXT_MKTCMS_GIT_USER="your-github-username"
NUXT_MKTCMS_GIT_REPO="owner/repository.git"
NUXT_MKTCMS_GIT_TOKEN="your-github-personal-access-token"

Note: To generate a GitHub Personal Access Token, go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic) → Generate new token. Grant it repo scope for full repository access.

Usage

.storage/
  Home.md
  Articles/
    Article 1.md
    Article 2.md
<!-- Home.md -->
---
title: Home
---
Welcome to **MKT CMS**!

::alert
Your alert component.
::
<script setup lang="ts">
const home = await useMdContent<{ title: string }>('Home.md')
const articles = await useMdContents('Articles')
</script>

<template>
  <h1>{{ home.title }}</h1>
  <MDC :value="home.markdown" />
  <article v-for="article in articles" :key="article.key">
    <MDC :value="article.markdown" />
  </article>
</template>

Mailer

await sendMail({
  subject: 'Notification from MKT CMS',
  fields: {
    Name: 'Jane Smith',
    Message: 'Hello, this is a test message.',
  },
  replyTo: '[email protected]',
})

Contribution

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release