lmgt
v1.0.1
Published
Accepts a query as a string and returns a letmegooglethat.com url
Downloads
9
Readme
#About
This module does exactly one thing. It accepts a string and returns a complete url to http://letmegooglethat.com with the string as the query object.
###Buy why? I needed it for a slack bot called jerkbot. You can see him here: https://github.com/jcreager/jerkbot
##Ok, how do you use it?
npm install lmgt --save
var lmgt = requre('lgmt')
var query = 'What is the capitol of France?'
var result = lmgt(query)
console.log(result)
// http://letmegooglethat.com?q=What%20is%20the%20capitol%20of%20France%3F