Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
github-repo-detail
Advanced tools
Get owner and name of repository passed as SSH or HTTPs
When dealing with octokit, it requres a proper owner and a repository name as params for it to fetch requests.
However, I have been in situation wherein I only have Github URL and have to perform certain task with octokit.
import { getDetails, RepoDetails } from 'github-repo-detail';
// Accepts URL passed in form of HTTPs or SSH
const details: RepoDetails = getDetails(url_here);
console.log(details);
/* {
owner: string,
name: string
} */
That's it!
FAQs
Get owner and repo name from github SSH or HTTPs link
The npm package github-repo-detail receives a total of 3 weekly downloads. As such, github-repo-detail popularity was classified as not popular.
We found that github-repo-detail demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.