redis-url-parser
Advanced tools
| exports.parse = function (url) { | ||
| var options = {} | ||
@@ -7,3 +6,2 @@ | ||
| var rtg = require('url').parse(url) | ||
| options.port = rtg.port | ||
@@ -10,0 +8,0 @@ options.host = rtg.hostname |
+4
-4
| { | ||
| "name": "redis-url-parser", | ||
| "version": "0.0.2", | ||
| "version": "0.0.3", | ||
| "description": "A Redis URL parser", | ||
@@ -13,5 +13,5 @@ "keywords": [], | ||
| "chai": "^3.2.0", | ||
| "istanbul": "^0.3.17", | ||
| "mocha": "^2.2.5", | ||
| "standard": "^4.5.4" | ||
| "istanbul": "^0.4.1", | ||
| "mocha": "^2.3.4", | ||
| "standard": "^5.4.1" | ||
| }, | ||
@@ -18,0 +18,0 @@ "standard": { |
| {"/Users/gfestari/github/redis-url-parser/index.js":{"path":"/Users/gfestari/github/redis-url-parser/index.js","s":{"1":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":50}}},"branchMap":{}},"/Users/gfestari/github/redis-url-parser/lib/redis-url-parser.js":{"path":"/Users/gfestari/github/redis-url-parser/lib/redis-url-parser.js","s":{"1":1,"2":2,"3":2,"4":1,"5":1,"6":1,"7":1,"8":2},"b":{"1":[1,1]},"f":{"1":2},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":31}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":14,"column":1}},"2":{"start":{"line":3,"column":2},"end":{"line":3,"column":18}},"3":{"start":{"line":5,"column":2},"end":{"line":11,"column":3}},"4":{"start":{"line":6,"column":4},"end":{"line":6,"column":39}},"5":{"start":{"line":8,"column":4},"end":{"line":8,"column":27}},"6":{"start":{"line":9,"column":4},"end":{"line":9,"column":31}},"7":{"start":{"line":10,"column":4},"end":{"line":10,"column":45}},"8":{"start":{"line":13,"column":2},"end":{"line":13,"column":16}}},"branchMap":{"1":{"line":5,"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":5,"column":2}},{"start":{"line":5,"column":2},"end":{"line":5,"column":2}}]}}}} |
Sorry, the diff of this file is not supported yet
3715
-30.86%7
-22.22%