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

@techtalkers/github

Package Overview
Dependencies
Maintainers
0
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.2 to 1.0.3

.turbo/turbo-build.log

3

dist/index.d.ts

@@ -6,2 +6,3 @@ import { GithubMetadata } from '@techtalkers/types';

}>;
export { fetchGithubData };
declare function checkValidUsernName(username: string): Promise<Boolean>;
export { fetchGithubData, checkValidUsernName };

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

}
export { fetchGithubData };
function checkValidUsernName(username) {
return __awaiter(this, void 0, void 0, function* () {
const data = yield fetch(`https://api.github.com/users/${username}`);
if (!data.ok) {
console.error(`Failed to fetch Github metadata for ${username} ${data.status}`);
return false;
}
else {
return true;
}
});
}
export { fetchGithubData, checkValidUsernName };
{
"name": "@techtalkers/github",
"version": "1.0.2",
"version": "1.0.3",
"description": "A package to extract github metadata and total contributions for a github user.",

@@ -8,3 +8,5 @@ "type": "module",

"scripts": {
"start": " npx tsc && node dist/index.js"
"start": " npx tsc && node dist/index.js",
"build": "npx tsc",
"check-types": "tsc --noEmit"
},

@@ -11,0 +13,0 @@ "keywords": [

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