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 🙏

© 2024 – Pkg Stats / Ryan Hefner

homechan

v1.0.1

Published

Homechan CLI - A combined utility for style enforcement and boilerplate generation

Downloads

13

Readme

Homechan CLI

Homechan CLI is a utility to generate boilerplate code for a Vite React app with various pages and components. It simplifies the creation of a fully functional React project with Tailwind CSS, Redux, and React Router. It supports light and dark themes and comes with predefined pages like Home, About, Contact, Login, and Signup.

Features

  • Generate boilerplate code for React Vite projects
  • Predefined pages: Home, About, Contact, Login, Signup
  • Redux state management setup
  • Light and dark themes with Tailwind CSS
  • Easy-to-use CLI commands

Installation

First, install Homechan globally:

npm install -g homechan

Prerequisites

Ensure you have a Vite React app set up. If not, create one using the following commands:

## create the vite react app first 
npm create vite@latest my-vite-app --template react
cd my-vite-app
npm install


##install tailwind css

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p


##install the project dependencies 

npm install react-redux @reduxjs/toolkit react-router-dom @fortawesome/react-fontawesome @fortawesome/free-brands-svg-icons @fortawesome/fontawesome-svg-core

##then install our package 

npm i homechan

## u are all set to go :), below are the set of command for each page respectievely , as u can see the naming convention is easy to remeber 

homechan home
homechan about
homechan contact
homechan login
homechan signup
homechan header
homechan footer
homechan theme

## if u feel super lazy for some reason, just run 

homechan basic


##the -basic command generates an entire webiste with black and white theme, with 2 theme modes light and dark, with redux state management as well as react router dom, u can just costomize it according to your liking, the file structure will look like this


my-vite-app/
├── src/
│   ├── components/
│   │   ├── Header.jsx
│   │   ├── Footer.jsx
│   ├── features/
│   │   └── theme/
│   │       └── themeSlice.js
│   ├── pages/
│   │   ├── Home.jsx
│   │   ├── About.jsx
│   │   ├── Contact.jsx
│   │   ├── Login.jsx
│   │   ├── SignUp.jsx
│   ├── App.jsx
│   ├── index.css
│   ├── main.jsx
├── index.html
├── package.json
├── tailwind.config.js
└── vite.config.js






## Contributions are welcome! Please submit a pull request or open an issue to help improve the project.


## we are constantly adding new command for differnt pages (eccommerce product page ) and also some full website tabplates depending on differnt needs, our utility not only it saves time but also frees you from doing the same basic thing over and over again. Happy coding :)