{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://inquir.org/nodejs-serverless-functions#webpage","url":"https://inquir.org/nodejs-serverless-functions","name":"Node.js 22 serverless functions with native modules and warm pools","headline":"Node.js 22 serverless functions with native modules and warm pools","description":"Deploy Node.js 22 serverless functions with native modules, full npm ecosystem, API gateway, cron jobs, webhooks, and background jobs—container-backed isolation without edge runtime restrictions.","inLanguage":"en-US","isPartOf":{"@id":"https://inquir.org/#website"},"author":{"@type":"Organization","name":"Inquir"},"datePublished":"2025-01-01T00:00:00.000Z","dateModified":"2026-04-20T00:00:00.000Z","citation":"https://inquir.org/docs"},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://inquir.org"},{"@type":"ListItem","position":2,"name":"Node.js serverless functions","item":"https://inquir.org/nodejs-serverless-functions"}]},{"@type":"TechArticle","@id":"https://inquir.org/nodejs-serverless-functions#article","headline":"Node.js 22 serverless functions with native modules and warm pools","description":"Deploy Node.js 22 serverless functions with native modules, full npm ecosystem, API gateway, cron jobs, webhooks, and background jobs—container-backed isolation without edge runtime restrictions.","inLanguage":"en-US","author":{"@type":"Organization","name":"Inquir"},"datePublished":"2025-01-01T00:00:00.000Z","dateModified":"2026-04-20T00:00:00.000Z","isPartOf":{"@id":"https://inquir.org/nodejs-serverless-functions#webpage"}},{"@type":"FAQPage","@id":"https://inquir.org/nodejs-serverless-functions#faq","url":"https://inquir.org/nodejs-serverless-functions","isPartOf":{"@id":"https://inquir.org/nodejs-serverless-functions#webpage"},"mainEntity":[{"@type":"Question","name":"Which Node.js version does Inquir use?","acceptedAnswer":{"@type":"Answer","text":"Node.js 22 (current LTS). ESM (.mjs), CommonJS (.cjs), and TypeScript (compiled before deploy) are all supported."}},{"@type":"Question","name":"Can I use ES modules (import/export)?","acceptedAnswer":{"@type":"Answer","text":"Yes. Name files .mjs or set \"type\": \"module\" in package.json. Top-level await works in ESM handlers."}},{"@type":"Question","name":"How do I handle binary uploads through the gateway?","acceptedAnswer":{"@type":"Answer","text":"Binary bodies arrive as base64-encoded strings when the gateway receives binary content. Decode with Buffer.from(event.body, \"base64\") before processing."}}]}]}