src/index.js
function search(term = _noSearchTermError()) {
	const url = `${API}/devrant/search`;
	const params = {
		app: 3,
		term
	};

	return http
		.GET(url, params)
		.then(data => data.results);
}
function search(term = _noSearchTermError()) {
	const url = `${API}/devrant/search`;
	const params = {
		app: 3,
		term
	};

	return http
		.GET(url, params)
		.then(data => data.results);
}
function search ( term = _noSearchTermError ( ) ) { const url = ` ${ API } ` ; const params = { app : 3 , term } ; return http . GET ( url , params ) . then ( data => data . results ) ; }
Retrieve rants from devRant that match a specific search
term.

@param  {String} term - the search term

@return {Promise} Resolves with the fetched rants
Retrieve rants from devRant that match a specific search term .