Socket
Socket
Sign inDemoInstall

remotedev-server

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remotedev-server - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

3

lib/options.js

@@ -13,4 +13,5 @@ module.exports = function getOptions(argv) {

dbOptions: argv.dbOptions || process.env.npm_package_remotedev_db,
logLevel: argv.logLevel || 3
logLevel: argv.logLevel || 3,
wsEngine: argv.wsEngine || process.env.npm_package_remotedev_wsengine || 'uws'
};
}
{
"name": "remotedev-server",
"version": "0.2.6",
"version": "0.2.7",
"description": "Run the RemoteDev monitor on your local server.",

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

@@ -47,2 +47,18 @@ RemoteDev Server

#### Available options
| Console argument | description | default value |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
| `--hostname` | hostname | localhost |
| `--port` | port | 8000 |
| `--protocol` | protocol | http |
| `--key` | the key file for [running an https server](https://github.com/SocketCluster/socketcluster#using-over-https) (`--protocol` must be set to 'https') | - |
| `--cert` | the cert file for [running an https server](https://github.com/SocketCluster/socketcluster#using-over-https) (`--protocol` must be set to 'https') | - |
| `--passphrase` | the key passphrase for [running an https server](https://github.com/SocketCluster/socketcluster#using-over-https) (`--protocol` must be set to 'https') | - |
| `--adapter` | the [database adapter](https://github.com/zalmoxisus/remotedev-server#save-reports-and-logs) name | - |
| `--dbOptions` | the [database adapter](https://github.com/zalmoxisus/remotedev-server#save-reports-and-logs) options string to pass | - |
| `--logLevel` | the socket server log level - 0=none, 1=error, 2=warn, 3=info | 3 |
| `--wsEngine` | the socket server web socket engine - ws or uws | uws |
### Inject to React Native local server

@@ -93,3 +109,3 @@

| Storage | `adapter` | `dbOptions` argument example (optional) | install |
|-----------|-----------|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|
| --------- | --------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| Firebase | firebase | `{ basePath: 'https://my-app.firebase.io' }` | `npm install --save js-data-firebase` |

@@ -96,0 +112,0 @@ | HTTP | http | `{ basePath: 'https://my-rest-server/api' }` | `npm install --save js-data-http` |

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