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

mhd-generator

v1.0.1

Published

a powerful and flexible project generator designed to streamline the process of creating React and Angular projects with desired pre-configurations. This tool aims to simplify the initial setup and configuration, allowing developers to focus more on build

Downloads

1

Readme

mhd-generator

Overview

mhd-generator is a powerful and flexible project generator designed to streamline the process of creating React and Angular projects with desired pre-configurations. This tool aims to simplify the initial setup and configuration, allowing developers to focus more on building features rather than setting up their projects.

Features

  • Generate React projects with pre-configured setups.
  • Generate Angular projects with desired configurations.
  • Easy-to-use CLI interface.
  • Customizable templates for various project needs.
  • Open-source and actively maintained.

Installation

You can install mhd-generator globally using npm:

npm install -g mhd-generator

Usage

To generate a new React or Angular project, simply run:


mhd generate <project-type> <project-name>

Replace with either react or angular, and with the desired name of your project.

Example

Generate a new React project named my-react-app:

mhd generate react my-react-app

Generate a new Angular project named my-angular-app:

mhd generate angular my-angular-app

Current Options

When generating a project, you can customize the setup with the following options:

  • TypeScript Support:

    • React: Add --ts to generate a React project with TypeScript.
    • Angular: Angular projects are TypeScript-based by default.
  • SCSS Support:

    • Angular: Use --scss to set up SCSS as the default styling option.
  • Redux/NgRx Integration:

    • React: Add --redux to include Redux in your React project.
    • Angular: Add --ngrx to include NgRx in your Angular project.
  • Git Initialization:

    • Add --git to initialize a Git repository with a .gitignore file.
  • Docker Support:

    • Add --docker to set up Docker with a Dockerfile and .dockerignore.
  • CI/CD Integration:

    • Add --ciCd to set up CI/CD for your project. You will be prompted to choose between GitHub Actions and GitLab CI.
  • API Integration:

    • Add --api to set up an API service in your project (using Axios for React or HttpClient for Angular) along with an example API file and environment file.
  • Environment Variables Setup:

    • React: Add --env to create an environment file with example variables.
  • Prettier Configuration:

    • Add --prettier to set up Prettier with a configuration file and a Prettier ignore file.

Contributing

We welcome contributions from the community! If you'd like to contribute, please follow these steps:

Fork the repository.
Create a new branch for your feature or bug fix.
Commit your changes.
Push the branch and create a pull request.

Please make sure to follow the code of conduct.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

React
Angular

Contact

For any questions or suggestions, feel free to open an issue or contact the maintainer.