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

@seneca/repl

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seneca/repl - npm Package Compare versions

Comparing version 1.4.0 to 1.5.1

25

package.json
{
"name": "@seneca/repl",
"description": "Provides a client and server REPL for Seneca microservice systems.",
"version": "1.4.0",
"version": "1.5.1",
"main": "repl.js",

@@ -26,3 +26,3 @@ "license": "MIT",

"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
"repo-publish": "npm run prettier && npm test && npm run repo-tag && npm publish --access public"
"repo-publish": "npm run prettier && npm test && npm run repo-tag && npm publish --access public --registry=http://registry.npmjs.org"
},

@@ -42,14 +42,15 @@ "keywords": [

"devDependencies": {
"async": "^2.6.2",
"code": "^5.2.4",
"coveralls": "^3.0.3",
"@hapi/code": "^6.0.0",
"@hapi/joi": "^15.1.1",
"@hapi/lab": "^20.2.2",
"acorn": "^7.0.0",
"async": "^3.1.0",
"coveralls": "^3.0.6",
"gex": "^0.3.0",
"joi": "^14.3.1",
"lab": "^18.0.2",
"prettier": "^1.16.4",
"prettier": "^1.18.2",
"seneca": "plugin",
"seneca-entity": "^3.1.0",
"seneca-mem-store": "^1.5.1",
"seneca-plugin-validator": "0.0.1",
"seneca-promisify": "^0.7.1"
"seneca-entity": "^5.1.2",
"seneca-mem-store": "^1.6.0",
"seneca-plugin-validator": "0.3.0",
"seneca-promisify": "^1.1.0"
},

@@ -56,0 +57,0 @@ "files": [

@@ -19,3 +19,3 @@ ![Seneca](http://senecajs.org/files/assets/seneca-logo.png)

> npm install seneca
> npm install seneca-repl
> npm install @seneca/repl
```

@@ -30,6 +30,6 @@

// open repl on default port 30303
.use('seneca-repl')
.use('repl')
// open another repl on port 10001
.use('seneca-repl', {port: 10001})
.use('repl', {port: 10001})

@@ -39,8 +39,25 @@ // open yet another repl on a free port chosen by your OS

// or get them from seneca.export('repl/address')
.use('seneca-repl', {port: 0})
.use('repl', {port: 0})
```
To access the repl, telnet to the port.
To access the REPL, run the `seneca-repl` command provided by this
module. Install this as a global module for easy access:
```
$ npm install -g @seneca/repl
```
Provide the host (default `localhost`) and port (default `30303`):
```
$ seneca-repl remote-host 12345
```
The `seneca-repl` command provides a convenient REPL interface including line editing and history. In production settings you'll want to create an SSH tunnel or similar
for this purpose.
Alternatively you can telnet to the port:
```
$ telnet localhost 30303

@@ -102,5 +119,7 @@ ```

* `alias <name> <cmd>`: define a new alias
* `trace`: toggle IN/OUT tracing of submitted messages
* `log`: toggle printing of remote log entries in test format (NOTE: these are unfiltered)
* `log match <literal>`: when logging is enabled, only print lines matching the provided literal string
## Contributing

@@ -107,0 +126,0 @@ The [Senecajs org][] encourage open participation. If you feel you can help in any way, be it with

'use strict'
// TODO: implement cmd for seneca.make('core/fixture').load$('qazwsx',(e,x)=>console.log(x.data$())) to show ent data
// Load modules

@@ -4,0 +7,0 @@ var Net = require('net')

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