Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-download

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-download - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

package.json
{
"name": "mongodb-download",
"version": "1.3.0",
"version": "1.3.1",
"description": "download mongodb prebuilt packages from mongodb",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -18,7 +18,7 @@ # mongodb-download

download({
version: '3.0.6',
version: '3.0.6',
arch: 'ia32',
platform: 'win32',
download_dir: './temp_download', // defaults to os.tmpdir()
http: {} // extra options that one would want to pass to http request
http_opts: {} // extra options that one would want to pass to http request
}, function (err, location) {

@@ -30,1 +30,18 @@ // location will be the path of the archive that it downloaded.

if you don't specify `arch` or `platform` args it will use `require('os')` to get them from the current OS. specifying `version` is mandatory.
## Options
### version (required)
MongoDB version to download
### arch (optional)
32 or 64 bit version architecture, possible values: ia32 or x64
### platform (optional)
Target platform of a download, possible values: "win32", "darwin", "osx", "linux" or "elementary OS"
### download_dir (optional)
Download path
### http_opts (optional)
Additional options that are going to be passed to http library, such as "agent".
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc