url-domain
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -0,1 +1,2 @@ | ||
// https://booking.gopaddle.dk/payment-success?token=649df808-0375-4157-9a00-0c13c5e25c8a | ||
const getDomain = (url) => { | ||
@@ -15,4 +16,4 @@ let obj = { | ||
const varVal = param.split('=') | ||
const val = !isNaN(parseInt(varVal[1],0)) ? parseFloat(varVal[1]) : varVal[1] | ||
obj.params[ varVal[0] ] = val; | ||
obj.params[ varVal[0] ] = varVal[1]; | ||
} | ||
@@ -19,0 +20,0 @@ url = arrParams[0]; |
{ | ||
"name": "url-domain", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Convert url address to json", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start":"node index" | ||
"test": "jest", | ||
"start": "node index", | ||
"publish":"npm publish" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC" | ||
"license": "ISC", | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
"jest": "^26.0.1" | ||
} | ||
} |
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
1810
3
50
1
1