The Storage API provides a pluggable way to configure where the Node-RED runtime stores data.
The information stored by the API includes:
By default, Node-RED uses a local file-system implementation of this API.
The API functions are documented here.
storageModule property in settings.js can be used to identify a custom module
A promise represents the eventual result of an asynchronous operation. It acts as a placeholder until the result is available.
Node-RED uses the When.js library. The following
example shows it in use. For a more complete example, the default file-system
implementation is located in