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

@codinglace/css

v1.0.1

Published

A modern, lightweight CSS framework with TypeScript components

Downloads

11

Readme

CodeLace

A modern, lightweight CSS framework with TypeScript components, focusing on performance, accessibility, and developer experience.

Features

  • 🚀 Lightweight and performant
  • 🎨 Modern design system
  • ♿ Accessibility-first approach
  • 📱 Mobile-first responsive design
  • 🔧 TypeScript components
  • 🎯 Zero dependencies (except floating-ui for advanced positioning)
  • 🛠️ Modular architecture
  • 📦 Tree-shakeable

Components

  • Alert System
  • Tab System
  • Popover
  • Modal
  • Dropdown
  • Toast Notifications
  • Collapse/Accordion
  • Forms
  • Cards
  • Navbar
  • More coming soon...

Installation

NPM

npm install codelace

Yarn

yarn add codelace

CDN

<!-- CSS -->
<link href="https://unpkg.com/[email protected]/dist/css/codelace.min.css" rel="stylesheet">

<!-- JavaScript -->
<script src="https://unpkg.com/[email protected]/dist/js/codelace.min.js"></script>

Usage

JavaScript/TypeScript

// Import specific components
import { Tab, Popover, Modal } from 'codelace';

// Import styles
import 'codelace/css'; // or import 'codelace/dist/css/codelace.min.css';

// Initialize components
const tab = new Tab('#myTab');

const popover = new Popover('#myPopover', {
  content: 'Hello World!',
  placement: 'top',
  offset: 8
});

const modal = new Modal('#myModal', {
  backdrop: true,
  keyboard: true
});

HTML

<!-- Tab System -->
<div class="cl-tabs" id="myTab">
  <ul class="cl-tab-list" role="tablist">
    <li class="cl-tab-item">
      <button class="cl-tab-link active" data-toggle="tab" data-target="#home">Home</button>
    </li>
    <li class="cl-tab-item">
      <button class="cl-tab-link" data-toggle="tab" data-target="#profile">Profile</button>
    </li>
  </ul>
  <div class="cl-tab-content">
    <div class="cl-tab-pane active" id="home">Home content</div>
    <div class="cl-tab-pane" id="profile">Profile content</div>
  </div>
</div>

<!-- Modal -->
<button class="cl-btn cl-btn-primary" data-toggle="modal" data-target="#myModal">
  Open Modal
</button>

<div class="cl-modal" id="myModal">
  <div class="cl-modal-dialog">
    <div class="cl-modal-content">
      <div class="cl-modal-header">
        <h5 class="cl-modal-title">Modal Title</h5>
        <button class="cl-modal-close" data-dismiss="modal">&times;</button>
      </div>
      <div class="cl-modal-body">
        Modal content goes here...
      </div>
      <div class="cl-modal-footer">
        <button class="cl-btn cl-btn-secondary" data-dismiss="modal">Close</button>
        <button class="cl-btn cl-btn-primary">Save changes</button>
      </div>
    </div>
  </div>
</div>

Using SASS

// Import all styles
@import "codelace/scss/codelace";

// Or import specific components
@import "codelace/scss/components/buttons";
@import "codelace/scss/components/modals";
@import "codelace/scss/components/tabs";

// Customize variables
$primary: #007bff;
$secondary: #6c757d;
$success: #28a745;
// ... more variables

Browser Support

CodeLace supports all modern browsers:

  • Chrome >= 60
  • Firefox >= 60
  • Safari >= 12
  • iOS >= 12
  • Edge >= 79

Documentation

Comprehensive documentation is coming soon. In the meantime, you can:

  • Check the examples directory for usage examples
  • View the source code for TypeScript component documentation
  • Browse the SCSS files for style customization options

Contributing

  1. Fork it (https://github.com/teckmill/CodeLace/fork)
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -am 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Floating UI for advanced positioning
  • The open source community for inspiration and best practices