ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
Account Management
Programming API
    Overview
    Request & Context
    Configuration
    Caching APIs
    Data Management
    Extensions & Hooks
    Error Handling
    Logging & Observability
    Types and Interfaces
    Web Standards
    Advanced Topics
      Node ModulesCode ReuseRoute Custom DataClone Request/ResponseRuntime Behaviorszp-body-removedZuplo Identity TokenJWT Service PluginOAuth Protected Resource Plugin
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Advanced Topics

Node Modules

Zuplo itself doesn't run Node.js, but instead runs a custom JavaScript engine that's designed to be fast and secure. However, the Zuplo engine is compatible with certain node modules that don't use native code or certain Node.js specific features like the file system.

Custom Modules

If you would like to use a node module, you can bundle modules inside of your own project. This process is straightforward using standard tools like ESBuild or TSDown to bundle your code along with any dependencies into a single file that's included in your Zuplo project.

You can find a complete example of how to bundle your own node modules in the Bundling Custom Node Modules example.

The process is typically as quick as running the following commands:

TerminalCode
npm install your-package-name npx tsdown ./node_modules/your-package-name --format esm --platform browser --out-dir ./modules/third-party/your-package-name

The module can then be imported and used in your Zuplo project like so:

Code
import { YourPackage } from "./modules/third-party/your-package-name.mjs";

Be sure to test your bundled code thoroughly to ensure it works as expected in the Zuplo environment.

Bundled Node Modules

Deprecated

Using the bundled node modules is no longer recommended. As these modules are used by multiple customers, they may not be the version you need or may not work as you expect. Instead, we recommend bundling your own node modules inside of your project. See the section on custom modules

Below are the currently installed modules.

Test Carefully

It's important to test your use of any node module carefully. Zuplo doesn't run Node.js, it runs a custom JavaScript engine that's designed to be fast and secure. This means that these modules may not work as you expect or certain functionality in these modules may not work at all. Even when we say a module is "Working", that doesn't guarantee it will work in your specific use case. Test your code thoroughly before deploying it to production.

When developing in the Zuplo portal using the bundled modules, you will see a red underline on the module types. We do not provide type definitions for these modules. You can ignore these editor errors as this won't impact the build (assuming the modules are used correctly).

ModuleStatusVersion Notes
Edit this page
Last modified on March 23, 2026
Web CryptoCode Reuse
On this page
  • Custom Modules
  • Bundled Node Modules
TypeScript