Anonymous View
1.1.3 • Published 1 year ago

@form8ion/github-core v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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