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 🙏

© 2025 – Pkg Stats / Ryan Hefner

luckybeard

v0.0.8

Published

A CLI for Lucky Beard's tool chain.

Downloads

261

Readme

Luckybeard CLI

Luckybeard CLI is a cli tool-chain specifically created to assist developers. It makes use of various tools

Installation

Install Luckybeard CLI with npm

  npm install -g luckybeard

Usage/Examples

luckybeard list-components
luckybeard generate-components

Disclaimer

luckybeard is used as-is and the author takes no responsibility for any loss or damages.

Implementation steps

  • [x] 1st the responsive object will contain all of its modes right before the final value, i.e. responsive.screen.breakpoints = {desktop: 123, mobile: 11} instead of responsive.screen.breakpoints = 12
  • [x] Once that object is built when generating the types, take the current version of the object, find the responsive key and each of its descendants that contain all of the modes as a child, then set the value equal to the first child so that we can determine the type correctly
  • [x] generate the types using the temporary object theming.d.ts
  • [x] now let's generate a ts export which is theme: ThemeType = {} and replace each of its values with its css selector equivalent
  • [x] generate a css file - each theme has its own [data-theme="mode"] selector with nested media queries for responsiveness.
  • [x] generate a css file containing all of the media queries for the responsive objects
  • [ ] make sure that font names can work as Figree instead of "Figtgree", we might have to generate string values as strings with quotes

Future optimizations

  • [ ] optimize css generation by reducing media queries
  • [ ] generate css snippets or look at other means of intellisense when writing out css within css/scss files
  • [ ] tidy up functions and move them out to other files as theming/index.ts has become quite bloated
  • [ ] look at error handling during css generation
  • [ ] write tests to validate that output is correct
  • [ ] add better type support for things like modes, figma variables etc.