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

create-lacspace-seo

v1.0.0

Published

Scaffold a complete, production-ready SEO setup into a Next.js App Router app in seconds — defineSite() config plus ready-made robots.txt, sitemap.xml, feed.xml, llms.txt and a dynamic OG-image route. Zero config, zero copywriting.

Readme

create-lacspace-seo

Scaffold a complete, production-ready SEO setup into a Next.js app in one command.

npm version license

One command drops in a defineSite() config plus ready-made robots.txt, sitemap.xml, feed.xml, llms.txt and a dynamic OG-image route — all wired to a single source of truth. No copywriting, no boilerplate, no fragile hand-written structured data.

Use it

npm create lacspace-seo@latest
# or
npx create-lacspace-seo

Run it inside a Next.js App Router project. It auto-detects app/ or src/app/, asks a few questions (or take flags), and writes:

lib/site.ts               ← one defineSite() config, used everywhere
app/robots.txt/route.ts   ← robots.txt (auto sitemap ref, optional AI blocking)
app/sitemap.xml/route.ts  ← sitemap.xml from bare paths
app/feed.xml/route.ts     ← RSS feed, prefilled from the site config
app/llms.txt/route.ts     ← llms.txt map for LLMs (llmstxt.org)
app/og/route.tsx          ← dynamic Open Graph images (/og?title=…)

Then install the packages it uses and you're done:

npm i @lacspace/seo @lacspace/robots @lacspace/sitemap @lacspace/rss @lacspace/llms-txt

Non-interactive (CI / scripts)

npx create-lacspace-seo --yes \
  --name "Acme" \
  --url "https://acme.com" \
  --description "We build things" \
  --twitter acmehq \
  --logo /logo.png

| Flag | Meaning | | --- | --- | | --name <name> | Site / brand name | | --url <url> | Absolute site URL | | --description <text> | Default meta description | | --twitter <handle> | Twitter/X handle | | --logo <path> | Logo path (e.g. /logo.png) | | --no-og | Skip the dynamic OG-image route | | -y, --yes | No prompts (needs --name & --url) | | --force | Overwrite existing files |

Existing files are never overwritten unless you pass --force — safe to re-run.

What you get

Every page becomes a one-liner, powered by the file it generated:

import { site } from "@/lib/site";

export const metadata = site.meta({ title: "Pricing", path: "/pricing" });
// → title template, canonical, Open Graph, Twitter card, dynamic OG image — all filled in

The Lacspace SEO Kit

| Package | For | | --- | --- | | @lacspace/seo | Metadata, JSON-LD & the defineSite() engine | | @lacspace/sitemap | sitemap.xml | | @lacspace/robots | robots.txt | | @lacspace/llms-txt | llms.txt / llms-full.txt | | @lacspace/rss | RSS / Atom / JSON feeds | | create-lacspace-seo | Scaffolder (this package) |

Licensing

This package is free under the Lacspace Free Licence — MIT-equivalent freedoms. Use it in personal and commercial projects at no cost; just keep the notice.

Not every Lacspace package is free. We also offer Commercial (paid), Client-specific, and Private (proprietary) packages under separate terms. See the full Lacspace Licence Centre.


Part of the Lacspace ecosystem — zero-dependency, isomorphic TypeScript packages.

All packages ↗ · npm org ↗ · Licence Centre ↗ · GitHub ↗