{"_id":"parse-db-url","_rev":"3018695","name":"parse-db-url","description":"parse database URLs into configuration objects","dist-tags":{"latest":"2.3.0"},"maintainers":[{"name":"grncdr","email":"glurgle@gmail.com"}],"time":{"modified":"2023-11-06T06:32:54.000Z","created":"2013-12-22T00:35:58.290Z","2.3.0":"2020-12-01T11:41:30.998Z","0.0.0":"2013-12-22T00:35:58.290Z"},"users":{},"author":{"name":"Stephen Sugden","email":"me@stephensugden.com"},"repository":{"type":"git","url":"git+https://github.com/grncdr/parse-db-url.git"},"versions":{"2.3.0":{"name":"parse-db-url","version":"2.3.0","description":"parse database URLs into configuration objects","main":"parse-url.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/grncdr/parse-db-url.git"},"keywords":["any-db","db","url"],"author":{"name":"Stephen Sugden","email":"me@stephensugden.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/grncdr/parse-db-url/issues"},"devDependencies":{"tape":"~2.3.2"},"homepage":"https://github.com/grncdr/parse-db-url#readme","_id":"parse-db-url@2.3.0","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"shasum":"8e133845bb7bdda6eaae6d7c06fd119a221c01fb","size":1370,"noattachment":false,"key":"/parse-db-url/-/parse-db-url-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-db-url/download/parse-db-url-2.3.0.tgz"},"_npmUser":{"name":"grncdr","email":"glurgle@gmail.com"},"directories":{},"maintainers":[{"name":"grncdr","email":"glurgle@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-db-url_2.3.0_1606822890822_0.882089951064003"},"_hasShrinkwrap":false,"publish_time":1606822890998,"_cnpm_publish_time":1606822890998,"_cnpmcore_publish_time":"2021-12-18T22:43:55.623Z"},"0.0.0":{"name":"parse-db-url","version":"0.0.0","description":"parse database URLs into configuration objects","main":"parse-url.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"https://github.com/grncdr/parse-db-url.git"},"keywords":["any-db","db","url"],"author":{"name":"Stephen Sugden","email":"me@stephensugden.com"},"license":"BSD-2-Clause","bugs":{"url":"https://github.com/grncdr/parse-db-url/issues"},"devDependencies":{"tape":"~2.3.2"},"readmeFilename":"README.md","_id":"parse-db-url@0.0.0","dist":{"shasum":"808ad8f64be48aea0dee838f9f504d0a0e53f537","size":1379,"noattachment":false,"key":"/parse-db-url/-/parse-db-url-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/parse-db-url/download/parse-db-url-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"grncdr","email":"glurgle@gmail.com"},"maintainers":[{"name":"grncdr","email":"glurgle@gmail.com"}],"directories":{},"publish_time":1387672558290,"_hasShrinkwrap":false,"_cnpm_publish_time":1387672558290,"_cnpmcore_publish_time":"2021-12-18T22:43:55.875Z"}},"readme":"# parse-db-url\n\n## API\n\n```ocaml\nmodule.exports := (String) => {\n    adapter:  String,\n    host:     String?,\n    port:     String?,\n    database: String?,\n    user:     String?,\n    password: String?\n}\n```\n\nTurn a string database URL into an object. This differs from a plain\n`require('url').parse(...)` in that it understands some conventions around\ndifferent database drivers and query-string parameters can override those found\nearlier in the URL. (e.g. `user=foo` in the query string overrides a `bar@host`\nin the URL.\n\n# License\n\n2-clause BSD\n","_attachments":{},"homepage":"https://github.com/grncdr/parse-db-url#readme","bugs":{"url":"https://github.com/grncdr/parse-db-url/issues"},"license":"BSD-2-Clause"}