To use the cloud Node.js module from a Browser script, Node.js script or module, you need first to import the client module that was generated after build. To use it you have to import Warp engine first. The engine has to be initialize just once.
ES Modules (ESM)
HTML script tag
Include the Warp engine directly in an HTML file:
Pay attention to using the same
engineversion that you use to develop the Node.js server part. Please change the version in the CDN url. Find current version of Warp thanks to the
npx warp versioncommand.