Skip to content

Latest commit

 

History

History
122 lines (76 loc) · 3.25 KB

File metadata and controls

122 lines (76 loc) · 3.25 KB

github-core

core package to support form8ion plugins that interact with GitHub

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Usage

npm Try @form8ion/github-core on RunKit license node

Installation

$ npm install @form8ion/github-core

Example

import {sourceHostedOnGitHub, octokit} from '@form8ion/github-core';

await sourceHostedOnGitHub({projectRoot: process.cwd()});

octokit.getNetrcAuthenticatedInstance({
  logger: {
    info: message => console.error(message),
    warn: message => console.error(message),
    error: message => console.error(message)
  }
});

Contributing

Commitizen friendly Conventional Commits semantic-release: angular Renovate PRs Welcome

Dependencies

$ nvm install
$ npm install

Verification

$ npm test