Cloud API Overview > @adpt/cloud > nodejs
nodejs namespace
The library for Node.js for Adapt.
Functions
| Function | Description |
|---|---|
| default(props) | A partially abstract component that builds Node.js source code into a Container and exposes a NetworkService. |
| LocalNodeImage(props) | Locally builds a docker image for a Node.js program. |
| NodeService(props) | A partially abstract component that builds Node.js source code into a Container and exposes a NetworkService. |
| ReactApp(props) | A partially abstract component that builds ReactJS source code and serves the resulting files via an http.HttpServer. |
Interfaces
| Interface | Description |
|---|---|
| LocalNodeImageProps | Props for nodejs.LocalNodeImage() |
| NodeImageBuildOptions | Options controlling how the Docker image is built in nodejs.LocalNodeImage(). |
| NodeServiceProps | Props for nodejs.NodeService(). |
| ReactAppProps | Props for nodejs.ReactApp(). |