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

create-spfx-tailwind-app

v1.0.17

Published

CLI to scaffold SPFx projects with Tailwind CSS preconfigured

Readme

🚀 Usage

Create a new SPFx project

npx create-spfx-tailwind-app MyProject

npm version npm downloads license SPFx

A modern CLI tool to scaffold SharePoint Framework (SPFx) projects with Tailwind CSS pre-configured --- no manual setup required.


✨ Features

  • ⚡ One-command SPFx project creation\
  • 🎨 Tailwind CSS ready out of the box\
  • 🧠 Smart CLI (interactive prompts + flags)\
  • 📦 Optional dependency installation\
  • 🏗 Built for SPFx v1.22+ (Heft-based projects)\
  • 🔁 No manual renaming required

📦 Usage

▶️ Create a project

npx create-spfx-tailwind-app MyProject

▶️ Or install globally

npm install -g create-spfx-tailwind-app
create-spfx-tailwind-app MyProject

⚙️ CLI Options

create-spfx-app <project-name> [options]

Options

  • --no-install → Skip dependency installation

Example

create-spfx-app MyProject --no-install

🛠 After Project Creation

If you skipped install:

cd MyProject
npm install

▶️ Start Development

Run in two terminals:

# Terminal 1
npm run start
# Terminal 2 (Tailwind watcher)
npm run build:tailwind

🧱 Tech Stack

  • SharePoint Framework (SPFx) v1.22+
  • React
  • Tailwind CSS
  • Heft build system
  • Node.js

📁 Project Structure

    MyProject/
├── .vscode/
├── config/
├── src/
├── teams/
├── temp/
├── .eslintrc.js
├── .gitignore
├── .yo-rc.json
├── package.json
├── package-lock.json
├── postcss.config.js
├── README.md
├── setup.js
├── tailwind.config.js
├── tsconfig.json

🎯 Why this tool?

The default SPFx generator:

yo @microsoft/sharepoint

❌ Requires manual setup
❌ No Tailwind support
❌ Repetitive configuration


This CLI solves that by:

✔ Automating setup
✔ Adding Tailwind out of the box
✔ Improving developer experience


📌 Prerequisites

  • Node.js (v22 recommended)
  • npm
  • SPFx development environment

🧪 Example

npx create-spfx-tailwind-app MyProject

🧑‍💻 Author

Deependra Singh


📄 License

MIT License


⚠️ Disclaimer

This project is not officially affiliated with Microsoft.
Use at your own risk.


⭐ Contributing

Contributions are welcome!
Feel free to open issues or submit pull requests.


🔗 References

  • https://learn.microsoft.com/sharepoint/dev/spfx/
  • https://tailwindcss.com/
  • https://heft.rushstack.io/

💬 Support

If you find this useful:

⭐ Star the repo
🔁 Share with your team


Happy coding 🚀