Socket
Socket
Sign inDemoInstall

ghinfo

Package Overview
Dependencies
53
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ghinfo

CLI util for generating a GitHub project information file


Version published
Maintainers
1
Created

Readme

Source

Package logo

Build Status npm Standard Shared Config

CLI util for generating a GitHub project information file.

The main purpose of creating a package is to save on the number of requests to the GitHub GraphQL API to get information about the repository (for example, to display packages on your website)

Install

npm install ghinfo --save-dev

Usage

ghinfo generate -d media -t utils

Generate .ghinfo with logo, social-preview and package description:

{
  "name": "ghinfo",
  "version": "2.0.3",
  "description": "CLI util for generating a GitHub project information file",
  "keywords": ["automated", "repo", "info", "cli", "github", "util"],
  "repo": "keindev/ghinfo",
  "type": "utils",
  "links": {
    "git": "https://github.com/keindev/ghinfo",
    "npm": "https://www.npmjs.com/package/ghinfo",
    "homepage": "https://github.com/keindev/ghinfo#readme"
  },
  "files": {
    "logo": "media/logo.svg",
    "social-preview": "media/social-preview.png"
  }
}

API

Read the API documentation for more information.

Keywords

FAQs

Last updated on 13 Feb 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc