git ssb

0+

cel-desktop / ssb-pkg



Tree: ca90b5ca0579ebdcc0635288bce4978e3fb200f5

Files: ca90b5ca0579ebdcc0635288bce4978e3fb200f5 / test / test-79-npm / github / github.js

251 bytesRaw
1'use strict';
2
3var GitHubApi = require('github');
4var github = new GitHubApi();
5github.users.getForUser({
6 username: 'igorklopov'
7}, function (error, res) {
8 if (error) return;
9 if (res.data.name === 'Igor Klopov') {
10 console.log('ok');
11 }
12});
13

Built with git-ssb-web