{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://inquir.org/ru/nodejs-serverless-functions#webpage","url":"https://inquir.org/ru/nodejs-serverless-functions","name":"Node.js 22 serverless-функции с нативными модулями и тёплыми пулами","headline":"Node.js 22 serverless-функции с нативными модулями и тёплыми пулами","description":"Node.js 22 serverless-функции с нативными модулями, полным npm, API gateway, cron и фоновыми задачами — контейнерная изоляция без ограничений edge-рантайма.","inLanguage":"ru-RU","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":"Главная","item":"https://inquir.org"},{"@type":"ListItem","position":2,"name":"Node.js serverless-функции","item":"https://inquir.org/nodejs-serverless-functions"}]},{"@type":"TechArticle","@id":"https://inquir.org/ru/nodejs-serverless-functions#article","headline":"Node.js 22 serverless-функции с нативными модулями и тёплыми пулами","description":"Node.js 22 serverless-функции с нативными модулями, полным npm, API gateway, cron и фоновыми задачами — контейнерная изоляция без ограничений edge-рантайма.","inLanguage":"ru-RU","author":{"@type":"Organization","name":"Inquir"},"datePublished":"2025-01-01T00:00:00.000Z","dateModified":"2026-04-20T00:00:00.000Z","isPartOf":{"@id":"https://inquir.org/ru/nodejs-serverless-functions#webpage"}},{"@type":"FAQPage","@id":"https://inquir.org/ru/nodejs-serverless-functions#faq","url":"https://inquir.org/ru/nodejs-serverless-functions","isPartOf":{"@id":"https://inquir.org/ru/nodejs-serverless-functions#webpage"},"mainEntity":[{"@type":"Question","name":"Совместимо с AWS Lambda?","acceptedAnswer":{"@type":"Answer","text":"Да. Тот же `handler(event)` контракт. `event.body` — строка; парсите через `JSON.parse`. Большинство Lambda-хендлеров портируется без изменений."}},{"@type":"Question","name":"Поддерживается TypeScript?","acceptedAnswer":{"@type":"Answer","text":"Да. `.ts` файлы компилируются при деплое; отдельный `tsc` шаг не нужен."}},{"@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."}}]}]}