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

@lapidist/design-lint

v6.0.7

Published

Design system linter

Readme

npm version build license

@lapidist/design-lint keeps JavaScript, TypeScript and style sheets aligned with your design system. It validates design tokens, flags unsupported components and offers rich formatting options for continuous integration pipelines. The linter operates solely on the Design Token Interchange Format (DTIF), using the canonical parser and schema as its reference implementation.

This project is not ready for production use.

Quick start

@lapidist/design-lint requires Node.js ≥22. The commands below either run the linter once via npx or install it locally, initialise configuration, and lint your src directory. For deeper CLI details, see the Usage guide.

# run without installing
npx @lapidist/design-lint@latest src

# or add to your project
npm install --save-dev @lapidist/design-lint
npx design-lint init
npx design-lint src

See the Usage guide for the full command reference.

Why design-lint?

General purpose linters understand code style, not design systems. @lapidist/design-lint bridges that gap by enforcing token usage and component conventions across your codebase.

Token awareness

@lapidist/design-lint flags raw values that bypass design tokens, keeping colour, spacing and typography consistent. Learn more in the rule reference.

Auto-fixes

Run with --fix to automatically replace deprecated tokens or components and tidy up your code. See the usage guide for fix options.

Broad language support

Lint JavaScript, TypeScript, CSS, SCSS, Sass and Less, including inline styles and tagged template literals.

Extensible

Extend behaviour with custom rules, formatters, and token transforms for your design system.

| Advantage | @lapidist/design-lint | Generic linters | | --- | --- | --- | | Design token validation | ✅ | ❌ | | Component deprecation warnings | ✅ | ❌ | | Multi-language style + code linting | ✅ | ⚠️ (varies) |

For more background, read the introductory blog post.

Documentation

The complete documentation is available under the docs/ directory and on design-lint.lapidist.net. See docs/index.md for the documentation landing page.

| Document | Purpose | | --- | --- | | Usage | Explains CLI flags, watch mode and caching. | | Configuration | Details tokens, rule levels and plugin activation. | | Rules | Provides a rule reference grouped by category. | | Formatters | Describes built-in and custom output formats. | | CI | Includes examples for GitHub Actions and other providers. | | API | Shows programmatic usage with TypeScript types. | | Architecture | Explains how the linter works internally. |

Contributing

Contributions are welcome. Please read CONTRIBUTING.md and follow the Code of Conduct.

License

MIT