get-github-user-events
v1.0.0
Published
This package allows you to retrieve the recent public events of any GitHub user by providing their username. It fetches data directly from the GitHub API, giving you insights into their activity, such as commits, issues, pull requests, and more. Perfect f
Readme
🚀 GitHub Info CLI
A simple command-line tool that fetches and displays GitHub user events in a table format.
📦 Installation
You can install the CLI tool globally using npm:
npm install -g github-info-cli🛠️ Usage
Run the command with a GitHub username:
githubInfo <username>📌 Example
githubInfo octocatIf the user exists, their GitHub events will be displayed in a table format using cli-table3.
⚠️ Error Handling
- If no username is provided, the tool will display an error message in red using
chalk. - If the specified username does not exist, an error message will also be shown in red.
📚 Dependencies
- 🎨 chalk - Used to display colored messages.
- 📊 cli-table3 - Used to format the output in a table.
- 🔗 axios - Used to fetch data from GitHub API.
📖 Resources
Made from roadmap.
🤝 Contributing
Feel free to fork the repository and submit a pull request with improvements.
📝 License
This project is licensed under the ISC License.
