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

nm-convert

v1.0.5

Published

A tool for converting a custom Tailwind-like JSON configuration file into a global CSS file and that is build because of tailwind v4 configurations not have option and the Manual writing configuration is a Time Consuming .

Readme

🏆 NM-convertor

A tool for converting a custom Tailwind-like JSON configuration file into a global CSS file. Built to address the absence of options in Tailwind v4 configurations and the time-consuming process of manually writing configurations.

Run Directly

npx nm-convert ./inputfilename.json ./outputfileName.css

📦 Installation (Run Globally)

1️⃣ Install the Package

npm install -g nm-convert

2️⃣ Run the command with that files Name

npx nm-convert ./inputfilename.json ./outputfileName.css

Example

inputfilename.json

{
  "colors": {
    "primary": { "500": "#1D4ED8", "DEFAULT": "#1D4ED8" }
  },
  "fontSize": {
    "sm": "14px",
    "md": "16px",
    "lg": "18px",
    "xl": "20px"
  },
  "spacing": {
    "sm": "10px",
    "md": "20px",
    "lg": "30px"
  },
  "borderRadius": {
    "sm": "4px",
    "md": "8px",
    "lg": "12px"
  },
  "boxShadow": {
    "sm": "0 1px 2px rgba(0,0,0,0.05)",
    "md": "0 4px 6px rgba(0,0,0,0.1)"
  },
  "transition": {
    "duration": "0.3s",
    "ease": "ease-in-out"
  }
}

outputfileName.css

/* Generated CSS from JSON configuration */

.bg-primary-500 {
  background-color: #1d4ed8;
}
.text-primary-500 {
  color: #1d4ed8;
}
.border-primary-500 {
  border-color: #1d4ed8;
}
.ring-primary-500 {
  box-shadow: 0 0 0 3px #1d4ed8;
}

.bg-primary {
  background-color: #1d4ed8;
}
.text-primary {
  color: #1d4ed8;
}
.border-primary {
  border-color: #1d4ed8;
}
.ring-primary {
  box-shadow: 0 0 0 3px #1d4ed8;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rounded-sm {
  border-radius: 4px;
}

.rounded-md {
  border-radius: 8px;
}

.rounded-lg {
  border-radius: 12px;
}

.text-sm {
  font-size: 14px;
}

.text-md {
  font-size: 16px;
}

.text-lg {
  font-size: 18px;
}

.text-xl {
  font-size: 20px;
}

.transition-duration {
  transition: 0.3s;
}

.transition-ease {
  transition: ease-in-out;
}

🚀 Features

  • Automatic generation of utility classes from a Tailwind-like JSON config
  • Generates global CSS with custom properties for colors, spacing, typography, etc.
  • Customizable output, ensuring flexibility with your project
  • Helps in faster development by eliminating the need to manually write utility classes

Hi, I'm Nirav Mathukiya! 👋

I'm Nirav Mathukiya, a full-stack developer passionate about building web applications with Next.js , React.js, Node.js, Express, and MongoDB. Currently 🚀

🔹 Tech Stack: React.js | Node.js | Express | MongoDB | postgreSQL | Next.js

💡 Always exploring new technologies and working on exciting projects! Let's connect and collaborate.

📫 Reach me at: LinkedIn


🛠 Skills

  • HTML
  • CSS
  • JavaScript
  • React
  • Tailwind
  • Node.js
  • Express
  • MongoDB
  • postgreSQL
  • Next.js

🔗 Links

linkedin twitter Github