ghinfo
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

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.

Package Sidebar

Install

npm i ghinfo

Weekly Downloads

8

Version

4.0.1

License

MIT

Unpacked Size

14.3 kB

Total Files

15

Last publish

Collaborators

  • keindev