Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@techtalkers/github

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@techtalkers/github - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

dist/index.d.ts
import { GithubMetadata } from '@techtalkers/types';
declare function fetchTotalContributions(name: string): Promise<number>;
declare function fetchGithubMetadata(name: string): Promise<GithubMetadata | undefined>;
export { fetchTotalContributions, fetchGithubMetadata };
declare function fetchGithubData(name: string): Promise<{
totalContributions: number;
metadata: GithubMetadata | undefined;
}>;
export { fetchGithubData };

@@ -67,2 +67,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
export { fetchTotalContributions, fetchGithubMetadata };
function fetchGithubData(name) {
return __awaiter(this, void 0, void 0, function* () {
const [totalContributions, metadata] = yield Promise.all([
fetchTotalContributions(name),
fetchGithubMetadata(name),
]);
return {
totalContributions,
metadata,
};
});
}
export { fetchGithubData };
{
"name": "@techtalkers/github",
"version": "1.0.1",
"version": "1.0.2",
"description": "A package to extract github metadata and total contributions for a github user.",

@@ -5,0 +5,0 @@ "type": "module",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc