halcin / core

Fetch stats and data of Github repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Core

version OpenSSF Scorecard MIT size build

Fetch stats and data of Github repositories

Getting Started

This package is available in the Node Package Repository and can be easily installed with npm or yarn.

$ npm i @dashlog/core
# or
$ yarn add @dashlog/core

Usage example

import { fetchOrgMetadata } from "@dashlog/core";

const { logo, projects } = await fetchOrgMetadata("NodeSecure");
console.log({ logo, projects });

Available plugins

  • scorecard for OSSF Scorecard
  • nodesecure to include NodeSecure scanner verify method.

Plugins need to be requested while fetching organization metadata:

const { projects } = await fetchOrgMetadata("NodeSecure", {
  plugins: ["scorecard", "nodesecure"]
});

for (const { plugins } of projects) {
  console.log(plugins.scorecard);
  console.log(plugins.nodesecure);
}

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):

Thomas.G
Thomas.G

💻 🐛 🚧 🛡️ 👀
PierreDemailly
PierreDemailly

💻 ⚠️
yurifa
yurifa

⚠️

License

MIT

About

Fetch stats and data of Github repositories

License:MIT License


Languages

Language:TypeScript 100.0%