{"_id":"@arist0tl3/mongodb-download","_rev":"1-9c9bfc00168840dd248ef1b7d0fd50e3","name":"@arist0tl3/mongodb-download","description":"download mongodb prebuilt packages from mongodb","dist-tags":{"latest":"2.2.6"},"versions":{"2.2.6":{"name":"@arist0tl3/mongodb-download","version":"2.2.6","description":"download mongodb prebuilt packages from mongodb","main":"built/mongodb-download.js","bin":{"mongodb-download":"built/mongodb-download-cli.js"},"types":"built/mongodb-download.d.ts","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/winfinit/mongodb-download.git"},"keywords":["mongodb","download"],"author":{"name":"Roman Jurkov","email":"winfinit@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/winfinit/mongodb-download/issues"},"dependencies":{"yargs":"^3.26.0","debug":"^2.2.0","getos":"^2.7.0","decompress":"^4.0.0","request":"^2.79.0","request-promise":"^4.1.1","md5-file":"3.1.1","fs-extra":"^2.0.0"},"devDependencies":{"@types/node":"^6.0.70","bluebird":"^3.5.1","chai":"^3.5.0","mocha":"^3.2.0"},"homepage":"https://github.com/fanmilesGmbH/mongodb-download#readme","gitHead":"da95eb4f8f9b7c67d5d0e921ad1640df6fe8e30b","_id":"@arist0tl3/mongodb-download@2.2.6","_npmVersion":"5.0.4","_nodeVersion":"8.4.0","_npmUser":{"name":"arist0tl3","email":"sean@vigorwebsolutions.com"},"dist":{"integrity":"sha512-l1VQiMWubAXp9av7H9YVIQoBzQfXKR5oRQ83RXoixI6V3MCx9dJy5iVx0D3bFq37nePalZiU1ejNWCvxtvcGjQ==","shasum":"e885a60b6a2e64409d070df9c96a03ded2839734","tarball":"https://registry.npmjs.org/@arist0tl3/mongodb-download/-/mongodb-download-2.2.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBCSiq8xPb5ogWqvDNPQJQWoohE0Qa0c/0uwtkqeCkOlAiAnW4ZpL/b4jkkjMY8YnoQo8p2gC9MkqSNzPT95mktFog=="}]},"maintainers":[{"name":"arist0tl3","email":"sean@vigorwebsolutions.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongodb-download-2.2.6.tgz_1515814734583_0.027861159993335605"}}},"readme":"# mongodb-download\n\n[![NPM](https://nodei.co/npm/mongodb-download.png)](https://nodei.co/npm/mongodb-download/)\n\ndownloads a MongoDB release zip/tgz from MongoDB\n\n## Usage\n\n```plain\n$ npm install --global mongodb-download\n$ mongodb-download --version=3.0.6\n```\n\n## Synopsis\n\n```javascript\nlet {MongoDBDownload} = require('mongodb-download');\n\nlet mongoDBDownload: any = new MongoDBDownload({});\n\nmongoDBDownload.download().then((downloadLocation: string) => {\n  console.log(`Downloaded MongoDB: ${downloadLocation}`);\n}, (err: any) => {\n  throw err;\n});\n```\n\nif you don't specify `arch` or `platform` args it will use `require('os')` to get them from the current OS.\n\n## Options\n\n### version (optional)\nMongoDB version to download, \"latest\" is by default\n\n### arch (optional)\n32 or 64 bit version architecture, possible values: ia32 or x64\n\n### platform (optional)\nTarget platform of a download, possible values: \"win32\", \"darwin\", \"osx\", \"linux\" or \"elementary OS\"  \n\n### downloadDir (optional) \nDownload path\n\n### http (optional)\nAdditional options that are going to be passed to http library, such as \"agent\".\n\n```javascript\nlet {MongoDBDownload} = require('mongodb-download');\nlet httpsProxyAgent = require('https-proxy-agent');\n\nvar proxyUrl = \"https://localhost:3128\";\nvar proxyAgent = new httpsProxyAgent(proxy_url);\n\nlet mongoDBDownload: any = new MongoDBDownload({\n  version: '3.0.6',\n  http: {\n    agent: proxyAgent\n  }\n});\n\n\n```\n","maintainers":[{"name":"arist0tl3","email":"sean@vigorwebsolutions.com"}],"time":{"modified":"2022-04-04T15:27:53.463Z","created":"2018-01-13T03:38:54.656Z","2.2.6":"2018-01-13T03:38:54.656Z"},"homepage":"https://github.com/fanmilesGmbH/mongodb-download#readme","keywords":["mongodb","download"],"repository":{"type":"git","url":"git+https://github.com/winfinit/mongodb-download.git"},"author":{"name":"Roman Jurkov","email":"winfinit@gmail.com"},"bugs":{"url":"https://github.com/winfinit/mongodb-download/issues"},"license":"ISC","readmeFilename":"README.md"}