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

lowcss-prose

v0.34.1

Published

A customizable CSS module for styling markdown content with clean typography and consistent element styling.

Downloads

231

Readme

lowcss-prose

A simple, customizable CSS module for styling markdown/prose content in your web projects. It's designed to work seamlessly with LowCSS utility classes or as a standalone styling solution.

Installation

You can install lowcss-prose via npm or yarn:

# using npm
$ npm install lowcss-prose

# using yarn
$ yarn add lowcss-prose

Features

  • Clean, readable typography for content-heavy pages.
  • Consistent styling for headings, paragraphs, lists, and tables.
  • Properly styled code blocks and inline code.
  • Easy customization through CSS variables.
  • Works with HTML generated from markdown.

Usage

Import the reset in your project using either CSS imports or by linking the CSS file directly in your HTML:

@import "lowcss-prose";
<!-- Or reference it in your HTML -->
<link rel="stylesheet" href="node_modules/lowcss-prose/index.css">

After importing, simply add the .prose class to the container of your content:

<article class="prose">
    <h1>Article Title</h1>
    <p>This is a paragraph with some <strong>bold text</strong> and <code>inline code</code>.</p>
    <h2>Section Heading</h2>
    <p>Another paragraph with a <a href="#">link</a>.</p>
    <!-- More content... -->
</article>

Styled Elements

This module styles the following HTML elements when they appear inside a .prose container:

  • Typography: Headings (h1-h4), paragraphs, bold text, links
  • Lists: Ordered and unordered lists with proper indentation
  • Code: Both inline code and code blocks (pre > code)
  • Blockquotes: Styled with a left border and proper spacing
  • Tables: Clean table styles with alternating row colors
  • Horizontal Rules: Subtle dividers

Customization

You can customize the appearance by overriding the CSS variables. For example:

:root {
    /* Change heading colors */
    --prose-h1-font-size: 2.5rem;
    --prose-h2-font-weight: 700;

    /* Adjust code block colors */
    --prose-pre-bg: #1e293b;
    --prose-pre-color: #e2e8f0;

    /* Modify link styling */
    --prose-link-color: #3b82f6;
    --prose-link-font-weight: 600;
}

Example

A markdown blog post rendered with the prose styles:

<article class="prose max-w-3xl mx-auto p-6">
    <h1>Getting Started with LowCSS</h1>

    <p class="lead">A quick introduction to using the LowCSS framework for your next project.</p>

    <h2>Installation</h2>
    <p>Install LowCSS using your favorite package manager:</p>

    <pre><code>npm install lowcss</code></pre>

    <h3>Basic Usage</h3>
    <p>Start using utility classes right away in your HTML:</p>

    <ul>
        <li>Add the <code>bg-blue-500</code> class for a blue background</li>
        <li>Use <code>text-white</code> for white text</li>
        <li>Apply <code>p-4</code> for padding on all sides</li>
    </ul>

    <blockquote>
        <p>LowCSS makes styling your web applications fast and intuitive.</p>
    </blockquote>
</article>

Integration with LowCSS

When using with LowCSS, you can combine prose styling with utility classes:

<div class="prose bg-white p-6 rounded-lg shadow-sm max-w-2xl mx-auto">
    <!-- Your markdown content here -->
</div>

License

This package is licensed under the [../../LICENSE](MIT LICENSE).