WebHare libraries are often designed for use in either the frontend (ie bundled in the Javacript code sent with a page) or the backend (as part of a RPC, the generation of a dynamic or static published page or a Tollium application).

Shared libraries

The 'shared' libraries are designed to be used in both frontend and backend

Frontend libraries

Backend libraries

HareScript and Compatibility

Development

Working with NPM libraries/node_modules

WebHare exposes some APIs of the node_modules it ships with through its own modules (eg pg, kysely) but third-party modules should not directly include the node_modules shipped with WebHare as they may be removed or receive incompatible upgrades without advance notice. Modules should stick to either the public APIs of @webhare/ modules or install the necessary modules themselves.