Skip to content

dashlog/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ed9aeb0 Β· May 21, 2023

History

27 Commits
May 21, 2023
May 21, 2023
Apr 5, 2023
Apr 9, 2023
Sep 3, 2022
Sep 3, 2022
Sep 3, 2022
Sep 3, 2022
Apr 23, 2023
May 21, 2023
May 21, 2023
Apr 23, 2023

Repository files navigation

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

πŸ’» ⚠️

License

MIT