Aktueller Stand

This commit is contained in:
2026-01-22 19:05:45 +01:00
parent 85dee61a4d
commit e280e4eadb
1967 changed files with 397327 additions and 74093 deletions

28
backend/node_modules/avvio/README.md generated vendored
View File

@@ -83,7 +83,6 @@ async function third (instance, opts) {
* <a href="#override"><code>instance.<b>override()</b></code></a>
* <a href="#onClose"><code>instance.<b>onClose()</b></code></a>
* <a href="#close"><code>instance.<b>close()</b></code></a>
* <a href="#express"><code>avvio.<b>express()</b></code></a>
* <a href="#toJSON"><code>avvio.<b>toJSON()</b></code></a>
* <a href="#prettyPrint"><code>avvio.<b>prettyPrint()</b></code></a>
@@ -152,8 +151,6 @@ Loads one or more functions asynchronously.
The function **must** have the signature: `instance, options, done`
However, if the function returns a `Promise` (i.e. `async`), the above function signature is not required.
Plugin example:
```js
function plugin (server, opts, done) {
@@ -162,8 +159,11 @@ function plugin (server, opts, done) {
app.use(plugin)
```
`done` should be called only once, when your plugin is ready to go. Additional
calls to `done` are ignored.
`done` should be called only once, when your plugin is ready to go. Additional calls to `done` are ignored.
If your plugin is ready to go immediately after the function is evaluated, you can omit `done` from the signature.
If the function returns a `Promise` (i.e. `async`), the above function signature is not required.
`use` returns a thenable wrapped instance on which `use` is called, to support a chainable API that can also be awaited.
@@ -444,24 +444,6 @@ also start the boot sequence.
Start the boot sequence, if it was not started yet.
Returns the `app` instance.
-------------------------------------------------------
<a name="express"></a>
### avvio.express(app)
Same as:
```js
const app = express()
const avvio = require('avvio')
avvio(app, {
expose: {
use: 'load'
}
})
```
-------------------------------------------------------
<a name="override"></a>