rickroll-detector
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,4 +6,3 @@ const request = require('request'); | ||
if(!input) throw new Error("No Input provided!") | ||
if(input !== String) throw new Error(`Expected a string! For example - "This is a message" or "https://youtube.com/user/rickastley"`) | ||
if(input !== String) return(`are you sure ${input} is a string? Check console for more info`) | ||
if(typeOf(input) !== "String") throw new Error(`Expected a string! For example - "This is a message" or "https://youtube.com/user/rickastley"`) | ||
request(input), function (error, response, body) { | ||
@@ -10,0 +9,0 @@ console.error('error:', error) |
{ | ||
"name": "rickroll-detector", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -9,3 +9,13 @@ "main": "index.js", | ||
}, | ||
"keywords": ["rickroll","rick roll","jebaited","rick astley","stick bugged","is rick roll", "roll", "rick", "never gonna give you up"], | ||
"keywords": [ | ||
"rickroll", | ||
"rick roll", | ||
"jebaited", | ||
"rick astley", | ||
"stick bugged", | ||
"is rick roll", | ||
"roll", | ||
"rick", | ||
"never gonna give you up" | ||
], | ||
"author": "", | ||
@@ -12,0 +22,0 @@ "license": "ISC", |
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
1485
16