@spalger/stupid-github-client

0.3.0 • Public • Published

yet another simple github wrapper

You should probably just ignore this.

// lib/github.js
import { factory } from '@spalger/github-client';
const github = factory({
  apiToken: 'XXXMY_API_TOKENXXX'
});

export const emoji = github.path('/emojis').once();

// then somewhere else in your application
import { emoji } from './lib/github';

const { body: emojiMap } = await emoji();
console.log(emojiMap);

Readme

Keywords

Package Sidebar

Install

npm i @spalger/stupid-github-client

Weekly Downloads

1

Version

0.3.0

License

Apache-2.0

Last publish

Collaborators

  • spalger