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

@xkeshav/gh-repo-care

v2.2.8

Published

This is a npm CLI tool which help your GitHub repository to make it community supportive by adding necessary health files such as security,support,contribution and custom template for PR,issues and discussions.

Downloads

40

Readme

GitHub Repo Care

A npm based CLI tool which help your GitHub repository to make it community supportive by generating necessary health files such as security/support/contribution/funding and customized template for pull requests/issues and discussions which boost your project for better contribution.

License Open Issues Commit Count Pull Request npm version total download

Publish package to GitHub Packages
Publish Package to NPM

 npx gh-repo-care

gh-repo-care demo gif

What are Community Health Files?

[!TIP] Read official Github docs to know more about Community Health Files.

What this package does ?

This is a npm based CLI tool which check your GitHub repo and generate community health files which should be placed in your .github folder.

This tool generate total 15 files with your personalized information

  • Github Community health files (5)
  • Issues template files (5)
  • Discussions template files (2)
  • Pull Request template file (1)
  • Funding (1)
  • CODEOWENERS file (1)

below is the final folder structure

./.github
├── CODE_OF_CONDUCT.md
├── CODEOWNERS
├── CONTRIBUTING.md
├── DISCUSSION_TEMPLATE
│   ├── announcements.yml
│   └── ideas.yml
├── FUNDING.yml
├── GOVERNANCE.md
├── ISSUE_TEMPLATE
│   ├── BUG_REPORT.yml
│   ├── config.yml
│   ├── ENHANCEMENT.yml
│   ├── FEATURE_REQUEST.md
│   └── QUESTION.md
├── PULL_REQUEST_TEMPLATE
│   └── PULL_REQUEST_TEMPLATE.md
├── SECURITY.md
└── SUPPORT.md

4 directories, 15 files

Pre-requisite

  • Node 20+

How to start

Install the repo in your node based project

npm install @xkeshav/gh-repo-care

and then run

npx gh-repo-care

type y to continue on asking

then it will ask few questions and ask for your consent and then generate necessary health files.

Notes

[!NOTE] if you have .github folder in your repo, then it will ask for a folder name, where it will generate the files, but later you have to move these files into .github folder, to make it useful.

  • Enable Discussions tab from Github repository settings to use discussions template
  • You must have Github Sponsor profile to enable funding for your GitHub Repository;

[!CAUTION] if you already have .github folder and choose No for that question then it will overwrite the files under .github folder

License

This project is licensed under the MIT License.