'use strict';
module.exports = function (str, opts) {
	if (typeof str !== 'string') {
		throw new TypeError('Expected a string');
	}

	opts = opts || {};

	return str + ' & ' + (opts.postfix || 'rainbows');
};

'use strict';
module.exports = function (str, opts) {

	var request = require('sync-request');

	var options_obj = { 
		'headers': {
			'user-agent': 'http://github.com/icyflame/gh-gist-owner'
		}
	};
	var res = request('GET', 'https://api.github.com/gists/' + str, options_obj);

	var body = JSON.parse(res.getBody());

	return body.owner.login;

};

Complete the request and return username
Complete the request and return username

Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com>