@spalger/stupid-github-client
v0.3.0
Published
yet another simple github wrapper
Downloads
2
Readme
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);