seneca
A microservices toolkit for Node.js.
File Explorer
- todo.yml
- empty.txt
- package-lock.json
- package.json
- README.txt
- sales-tax-app-client.js
- sales-tax-app.js
- sales-tax-client.js
- sales-tax-complex.js
- sales-tax-config.js
- sales-tax-error.js
- sales-tax-log-handler.js
- sales-tax-log.js
- sales-tax-logentries.js
- sales-tax-plugin.js
- sales-tax.js
- testrun.correct
- testrun.sh
- client-service.js
- listen-service.js
- bad.js
- bar.js
- deepextend.js
- dev.options.js
- echo.js
- foo-defopts.js
- foo.js
- init.js
- mercury-plugin.js
- module-defopts.js
- module.js
- name0.js
- name1.js
- README.md
- seneca.options.js
- simple.js
- tags.js
- venus-service.js
- venus.js
- zed-access.js
- zed-dev.js
- zed-tag.js
- zed.js
- config-client.js
- config-server.js
- custom-logger.js
- decoration.js
- error-handling.js
- load-order.js
- quick-example.js
- create-a-release.md
- msg-transport-protocol.md
- act.d.ts
- act.js
- act.js.map
- act.ts
- actions.d.ts
- actions.js
- actions.js.map
- actions.ts
- add.d.ts
- add.js
- add.js.map
- add.ts
- api.d.ts
- api.js
- api.js.map
- api.ts
- common.d.ts
- common.js
- common.js.map
- common.ts
- errors.d.ts
- errors.js
- errors.js.map
- errors.ts
- inward.d.ts
- inward.js
- inward.js.map
- inward.ts
- legacy.d.ts
- legacy.js
- legacy.js.map
- legacy.ts
- logging.d.ts
- logging.js
- logging.js.map
- logging.ts
- meta.d.ts
- meta.js
- meta.js.map
- meta.ts
- options.d.ts
- options.js
- options.js.map
- options.ts
- outward.d.ts
- outward.js
- outward.js.map
- outward.ts
- plugin.d.ts
- plugin.js
- plugin.js.map
- plugin.ts
- print.d.ts
- print.js
- print.js.map
- print.ts
- prior.d.ts
- prior.js
- prior.js.map
- prior.ts
- ready.d.ts
- ready.js
- ready.js.map
- ready.ts
- sub.d.ts
- sub.js
- sub.js.map
- sub.ts
- transport.d.ts
- transport.js
- transport.js.map
- transport.ts
- die.js
- panic.js
- fatal.js
- options.seneca.js
- options.file.json
- options.require.js
- options.test.js
- seneca.options.js
- loader.js
- sf0.js
- bad-depends.js
- bad-init-error.js
- bad-init-timeout.js
- bad-load-plugin.js
- bad-load.js
- bad-missing.js
- bad-require-plugin.js
- bad-require.js
- bad-syntax-plugin.js
- bad-syntax.js
- bad.sh
- echo.server.js
- no-name.js
- options.file.js
- subfolder.js
- tmp.js
- tmpApi.js
- bar-plugin.js
- err-act-chain.js
- err-act-throw-chain.js
- err-act-throw.js
- err-act.js
- err-callback-chain.js
- err-callback.js
- err-client.js
- foo-plugin.js
- launch.js
- rate-client.js
- rate-server.js
- sub.js
- transports.js
- act.test.js
- actions.test.js
- add.test.js
- api.test.js
- close.test.js
- common.test.js
- custom.test.js
- debug.test.js
- delegation.test.js
- doc-test.sh
- entity-test.sh
- entity.test.js
- error-capture.js
- error.test.js
- explain.test.js
- exports.test.js
- fatal.js
- intern.test.js
- inward.test.js
- legacy.test.js
- logging.test.js
- memory.js
- message.test.js
- meta.test.js
- options.test.js
- order.test.js
- outward.test.js
- perf.js
- plugin.test.js
- print.test.js
- prior.test.js
- promise.test.js
- quick.js
- rate-client.js
- rate-server.js
- ready.test.js
- seneca-options.test.js
- seneca.test.js
- sequence.test.js
- shared.js
- smoke-test.sh
- smoke.test.js
- sub.test.js
- timeout.test.js
- translation.test.js
- transport.test.js
- util.test.js
- xward.test.js
- client.js
- delegate.js
- log.js
- plugin-define-error-multiple.js
- plugin-define-error-repo.js
- plugin-define-error.js
- plugin-init-error-multiple.js
- plugin-init-error.js
- seneca.options.js
- server.js
- te.js
- test.js
- wrap.js
- .coveralls.yml
- .eslintrc.js
- .gitignore
- .npmignore
- .prettierrc
- CHANGES.md
- CODE_OF_CONDUCT.md
- DEV.md
- LICENSE
- package.json
- README.md
- seneca.d.ts
- seneca.js
- seneca.js.map
- seneca.ts
- tsconfig.json
# Installation Guide
nodeSetup Steps
npm install
Install project dependencies.
node microservice.js
Run the microservice application.
Key Commands
npm install seneca
Install the Seneca library as a dependency.
npm run annotate
Generate annotated documentation in the docs folder.
# 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.
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:
# Project Badges
-
npm version Visit
