wrap-git is a powerful Node.js package that provides an easy way to interact with the GitHub API, supporting both JavaScript and TypeScript.
It wraps various endpoints and operations, enabling developers to access and summarize GitHub data with minimal effort.
This package simplifies data retrieval and analysis from GitHub, making it an excellent choice for integrating GitHub functionalities into your applications.
- Fetch user profiles and filter screen data.
- Fetch and filter
commits,repositories, andlanguagescoverages. - Analyze commits per each year.
- Analyze repos — tops, star counts, and details.
- Analyze language coverage per each repo, top languages, and percentages.
Install the package using npm:
npm install wrap-gitor with yarn:
yarn add wrap-gitYou can use the package by importing individual methods or use the default export.
import { getUserProfile, commitSummarizar, repoSummarizer, lngSummarizer } from "wrap-git";
const userProfile = await getUserProfile('sgc93'); // don't forget to handle errors import wrapGit from "wrap-git";
const { getUserProfile, commitSummarizar, repoSummarizer, lngSummarizer } = wrapGit;
const userProfile = await getUserProfile('sgc93'); // don't forget to handle errorsWe welcome contributions! Feel free to submit issues or create pull requests.
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details
Developed and maintained by smachew G.. Built with ❤️ using Node.js and TypeScript.