seneca-transport
Seneca micro-services message transport over TCP and HTTP.
File Explorer
- build.yml
- todo.yml
- empty.txt
- http-client.js
- http-listen.js
- create-a-release.md
- http.js
- tcp.js
- transport-utils.js
- bench-external.js
- bench-internal.js
- bench-service.js
- client.js
- server.js
- client.js
- server.js
- client-foo-pin.js
- client-foo.js
- fault.js
- foo.js
- memtest-transport.js
- readme-color-client.js
- readme-color-service.js
- readme-color-tcp.js
- readme-color-web-https.js
- readme-color.js
- readme-many-colors-client.js
- readme-many-colors-server.js
- readme-many-colors.sh
- README.txt
- service-foo.js
- createClient.js
- createInstance.js
- basic.skip.js
- entity.test.js
- http.test.js
- misc.test.js
- tcp.test.js
- .gitignore
- .travis.yml
- CHANGES.md
- CODE_OF_CONDUCT.md
- docker-compose.yml
- Dockerfile
- LICENSE
- package.json
- README.md
- transport.js
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
killall
View Details ▼
killall
Send kill signal to all instances of a process by name (must be exact name).
All signals except SIGKILL and SIGSTOP can be intercepted by the process, allowing a clean exit.
killall {{process_name}}
Terminate a process using the default SIGTERM (terminate) signal:
killall {{[-l|--list]}}
List available signal names (to be used without the `SIG` prefix):
killall {{[-i|--interactive]}} {{process_name}}
Interactively ask for confirmation before termination:
node
View Details ▼
node
Server-side JavaScript platform (Node.js).
node {{path/to/file}}
Run a JavaScript file:
node
Start a REPL (interactive shell):
node --watch {{path/to/file}}
Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
TIME
View Details ▼
TIME
Measure how long a command took to run.
Note: `time` can either exist as a shell builtin, a standalone program, or both.
See also: `times`.
time {{command}}
Run the `command` and print the time measurements to `stdout`:
time
Display the current system time and prompt to enter a new time (leave empty to keep unchanged):
time read
Create a very simple stopwatch (only works in Bash):
