Optionalstore: Store
The store holding the resources the application serves, shared by every driver mounted on the
application or on its sub-applications; if omitted, requests reaching a driver fail with a 500 status
Optionalscope: StoreScope
The page size, nesting and aggregates that templates may ask for, enforced by every driver mounted on
the application or on its sub-applications. Route and client templates are held to it, and requests exceeding it
are rejected with a 422 status. The scope is closed by default, so an omitted scope admits only bare retrieval.
An omitted limit or depth counts as 0. A positive bound caps pages or nesting, and Infinity leaves them
unbounded. Aggregates require stats. The default scope of store never widens this scope. Its locale lists
by priority the languages served to requests accepting any language or stating no Accept-Language header. Its
tags state language and script at most, as finer tags never match localised labels
A new Express application, whose listen() serves it as described by Server.listen
TypeError If scope states a locale with values other than language tags, or a
limit or depth other than a non-negative integer or Infinity, such as a negative or fractional bound
Creates an Express application served over HTTP.