0.3.0 • Published 9 years ago

@spalger/stupid-github-client v0.3.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
9 years ago

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);