Antispace Deployment
When creating and developing your apps using Antispace CLI, you can deploy your app directly to Antispace's high-performance global infrastructure for free.
Deploying Your App
To deploy your app, simply run the following CLI command:
Usage of the UI Library
antispace deploy
▼ Note: Antispace deployment is only possible for apps created and developed using the Antispace CLI. If you are developing your app manually, you will need to deploy it yourself.
Environment Variables
Environment variables for your Antispace app will be read from .env
file at the root of your app project at the time of deployment. In order to update an environment variable, change it in your .env
and re-run antispace deploy
.
Runtime
Apps deployed to Antispace run in an edge runtime with Node.js compatibility mode. This means that some libraries/features may not be available when deploying to Antispace.
Compatibility Table
API Name | Runtime Support |
---|---|
Assertion testing | Supported |
Asynchronous context tracking | Supported |
Buffer | Supported |
Console | Supported |
Crypto | Supported |
Diagnostics Channel | Supported |
DNS | Supported |
Errors | Supported |
Events | Supported |
File system | Coming Soon |
Globals | Supported |
HTTP | Not Yet Supported |
HTTP/2 | Not Yet Supported |
HTTPS | Not Yet Supported |
Inspector | Supported Via Chrome Dev Tools Integration |
Net | Supported |
OS | Not Yet Supported |
Path | Supported |
Performance hooks | Partially Supported |
Process | Supported |
Query strings | Supported |
Stream | Supported |
String decoder | Supported |
Timers | Supported |
TLS/SSL | Partially Supported |
UDP/datagram | Not Yet Supported |
URL | Supported |
Utilities | Supported |
Web Crypto API | Supported |
Web Streams API | Supported |
Zlib | Supported |