{"_id":"mongodb-shell-to-url","_rev":"101-f20bdc2cdb0ffe81a77f0b928fa0f813","name":"mongodb-shell-to-url","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"mongodb-shell-to-url","version":"0.1.0","license":"Apache-2.0","_id":"mongodb-shell-to-url@0.1.0","maintainers":[{"name":"rueckstiess","email":"thomas@rueckstiess.net"}],"homepage":"http://github.com/mongodb-js/mongodb-shell-to-url","bugs":{"url":"git://github.com/mongodb-js/mongodb-shell-to-url.git/issues"},"dist":{"shasum":"33e34035db77a328e24968435d5a9ea933da11d7","tarball":"https://registry.npmjs.org/mongodb-shell-to-url/-/mongodb-shell-to-url-0.1.0.tgz","integrity":"sha512-rnYtCv4wtMuaxsirhTSMjcKUUygHkwwq/ZNTpeDYHhFQX9qRZs7ZFCSkeTiFtLrDiUzkNkk7Q4mM5clXFmdQvA==","signatures":[{"sig":"MEQCIHry8YmxueWh9ghQTfBUeRqZUoirHGpGJYi1T7AO2e/fAiA+Ho6lXtt8Wuj7v1EdPjEQ4/kIyUFbP31RkTlv4O+CrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"33e34035db77a328e24968435d5a9ea933da11d7","gitHead":"6667606eda7baaf9499fcf5ae2d105aed9f1fe7a","scripts":{"ci":"npm run check && npm test","fmt":"mongodb-js-fmt","test":"mocha","check":"mongodb-js-precommit"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"precommit":["check"],"repository":{"url":"git://github.com/mongodb-js/mongodb-shell-to-url.git","type":"git"},"_npmVersion":"3.10.3","description":"Converts a shell connection string (from Atlas) to a MongoDB URL.","directories":{},"_nodeVersion":"6.3.1","dependencies":{"chai":"^3.5.0"},"devDependencies":{"mocha":"^2.3.4","pre-commit":"^1.1.2","mongodb-js-fmt":"^0.0.3","mongodb-js-precommit":"^0.2.8","eslint-config-mongodb-js":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-shell-to-url-0.1.0.tgz_1478580239739_0.34506280557252467","host":"packages-12-west.internal.npmjs.com"}}},"time":{"created":"2016-11-08T04:43:59.971Z","modified":"2026-07-15T15:36:22.087Z","0.1.0":"2016-11-08T04:43:59.971Z"},"bugs":{"url":"git://github.com/mongodb-js/mongodb-shell-to-url.git/issues"},"license":"Apache-2.0","homepage":"http://github.com/mongodb-js/mongodb-shell-to-url","repository":{"url":"git://github.com/mongodb-js/mongodb-shell-to-url.git","type":"git"},"description":"Converts a shell connection string (from Atlas) to a MongoDB URL.","maintainers":[{"email":"satya@mongodb.com","name":"satyasinha"},{"email":"kristina.stefanova@mongodb.com","name":"kristina.stefano"},{"email":"nathan.smyth@10gen.com","name":"jarjee"},{"email":"iteng@mongodb.com","name":"devtoolsbot"},{"email":"james.wang@mongodb.com","name":"mongo-j"},{"email":"neal.beeken@mongodb.com","name":"nbbeeken"},{"email":"dbx-node@mongodb.com","name":"dbx-node"},{"email":"devtools-npm-user@mongodb.com","name":"devtools-npm-user"},{"email":"me@tomr.au","name":"rueckstiess"}],"readme":"# mongodb-shell-to-url [![travis][travis_img]][travis_url] [![npm][npm_img]][npm_url]\n\nConverts a shell connection string (from Atlas) to a MongoDB URL.\n\n## Example\n\n```javascript\n\nvar shellToUrl = require('mongodb-shell-to-url');\nvar connectionString = 'mongo \"mongodb://localhost:27017?replicaSet=MyCluster\" --ssl --username hans';\n\nconsole.log(shellToUrl(connectionString));\n// logs \"mongodb://hans:PASSWORD@localhost:27017?ssl=true&replicaSet=MyCluster&authSource=admin\"\n```\n\n## Known Limitations\n\n- [ ] requires a MongoDB URI in double-quotes\n- [ ] does not support `--hostname`, `--port` yet\n- [ ] ignores password and hard-codes to `PASSWORD` for security reasons\n- [ ] only works if the original MongoDB URL contains a `?`, sorry :-)\n\n## License\n\nApache 2.0\n\n[travis_img]: https://img.shields.io/travis/mongodb-js/mongodb-shell-to-url.svg\n[travis_url]: https://travis-ci.org/mongodb-js/mongodb-shell-to-url\n[npm_img]: https://img.shields.io/npm/v/mongodb-shell-to-url.svg\n[npm_url]: https://npmjs.org/package/mongodb-shell-to-url\n","readmeFilename":"README.md"}