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

@warofwonder/cnp-workspace

v1.0.0

Published

Component & Pattern Workspace - A comprehensive starter kit for rapid web development with reusable components, design system, and utilities

Readme

CNP - Component & Pattern Workspace

A comprehensive, production-ready development workspace for building websites and web applications quickly.

🚀 Quick Start

Create a New Project

# Using the setup script
./create-project.sh

# Or manually
cd dev-workspace
cp starters/html-template.html ../my-project/index.html
cp -r design-system ../my-project/

Development Options

Option 1: VS Code Live Server (Recommended for beginners)

  1. Open dev-workspace.code-workspace in VS Code
  2. Install recommended extensions
  3. Right-click HTML file → "Open with Live Server"

Option 2: Docker (Production-like environment)

docker-compose up -d
# Visit: http://localhost:8080

📁 Project Structure

CNP/
├── dev-workspace/          # Main workspace
│   ├── components/         # Reusable HTML components
│   ├── design-system/      # CSS framework
│   ├── utilities/          # JavaScript helpers
│   └── starters/           # Project templates
├── create-project.sh       # Quick setup script
├── QUICKSTART.md          # Component reference
├── SETUP_GUIDE.md         # Full setup guide
└── WORKSPACE_OVERVIEW.md  # Feature overview

📚 Documentation

🎨 What's Included

Design System

  • CSS variables for colors, typography, spacing
  • Dark mode support
  • Responsive utilities
  • Animation helpers

Components

  • Navigation bars
  • Hero sections
  • Cards and grids
  • Forms (contact, login, multi-step)

JavaScript Utilities

  • DOM manipulation
  • API helpers
  • Form validation
  • Local storage
  • Date/time formatting

Starter Templates

  • Complete HTML template
  • React component library

🔧 Requirements

  • Visual Studio Code (recommended)
  • Docker (optional, for production-like environment)
  • Modern browser (Chrome, Firefox, Safari, Edge)

💡 Usage Examples

Create a Landing Page

./create-project.sh
# Follow prompts
cd my-project
code .

Use a Component

<!-- Copy from dev-workspace/components/ -->
<link rel="stylesheet" href="design-system/core.css">
<link rel="stylesheet" href="design-system/components.css">

<div class="card">
  <h3 class="card-title">My Card</h3>
  <p>Content here</p>
</div>

🎯 Best Practices

  1. Always start from a template
  2. Use CSS variables for theming
  3. Keep components modular
  4. Reference QUICKSTART.md for syntax
  5. Use Git for version control

📝 License

MIT License - Feel free to use for personal or commercial projects

🆘 Support

  • Check documentation files for guides
  • Review component examples in dev-workspace/components/
  • Use the setup script for automated project creation

Built for rapid web development 🚀