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-lithent

v0.3.1

Published

lithent-boilerplate

Downloads

19

Readme

create-lithent

The official scaffolding tool for Lithent projects.

Quick Start

Prerequisites

  • Node.js 18.12 or higher
  • Basic command line experience

Creating a New Project

Run the following command in your terminal:

npx create-lithent@latest

This command installs and runs create-lithent, which will guide you through the project setup process.

Setup Process

The CLI will prompt you for:

  1. Project name: Choose a name for your project directory
  2. Template type: Select between two options:
    • SSR (Express): Server-side rendering with Express. Ideal for SEO and optimized first-load performance
    • SPA (Vite): Client-side rendering with Vite. Perfect for fast development and simple deployments

Installation and Development

Once scaffolded, navigate to your project and start developing:

cd <your-project-name>
npm install
npm run dev

Your Lithent project will be running locally. The default template uses JSX for component markup.

Building for Production

When ready to deploy:

npm run build

This creates an optimized production build in the ./dist directory.

For SSR projects, start the production server with:

npm run start

Template Features

SSR Template (Express)

  • Server-side rendering with Express
  • File-based routing in /src/pages/
  • MDX support via @lithent/lithent-mdx
  • Hot Module Replacement (HMR)
  • Tailwind CSS pre-configured
  • State management with state-ref

Routing Rules

Routing is determined by filenames under /src/pages/:

  • src/pages/index.tsxhttp://localhost:3000/
  • src/pages/one.tsxhttp://localhost:3000/one
  • src/pages/index._type.tsxhttp://localhost:3000/:type
  • src/pages/one._type._name.tsxhttp://localhost:3000/one/:type/:name

Dynamic segments use underscore (_) prefix.

MDX Support

Drop .mdx files in src/pages/ and they compile automatically:

src/pages/docs.mdx → http://localhost:3000/docs

Hot reload works seamlessly with MDX files.

SPA Template (Vite)

  • Pure client-side rendering
  • Vite-powered development
  • Fast HMR and build times
  • Tailwind CSS pre-configured
  • Ideal for GitHub Pages and static hosting

Using Lithent from CDN

You can use Lithent without a build step by loading it from a CDN:

<script src="https://cdn.jsdelivr.net/npm/lithent/dist/lithent.umd.js"></script>
<script src="https://cdn.jsdelivr.net/npm/lithent/ftags/dist/lithentFTags.umd.js"></script>

Use ftags or htm for templates when working without JSX.

📦 View all available CDN URLs

Documentation

License

MIT © superlucky84