Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "google-sr", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Yet another library to do google a search, easy and simple", | ||
@@ -5,0 +5,0 @@ "repository": "typicalninja493/google-sr", |
@@ -8,3 +8,6 @@ const querystring = require('querystring') | ||
url = url.replace('/url?q=', '') | ||
return url; | ||
const queryResults = querystring.parse(url); | ||
const key = Object.keys(queryResults)[0]; | ||
return key; | ||
} | ||
@@ -34,6 +37,7 @@ | ||
module.exports = { | ||
parseUrl, | ||
getDescription, | ||
PrepareUrl | ||
PrepareUrl, | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4311
5
81