@azure/functions-extensions-base

中文文档
0.3.0发布于 2026/04/08MITTypeScriptESM + CJS零依赖近 30 天下载 567.3万

Node.js Azure Storage Client extension implementations for Azure Functions

原始使用文档
文档目录5 节
  1. Features
  2. Integration with Azure Functions
  3. License
  4. Resources
  5. Reporting Issues

Azure Functions Node.js Extensions Base

The Azure Functions Node.js Extensions Base Library provides core interfaces, classes, and utilities for building extension components for Azure Functions in JavaScript and TypeScript to recognize and bind to SDK types. It is not intended for direct use. Instead, please reference one of the extending packages:

@azure/functions-extensions-bindings-blob

Features

  • Resource Factory Resolver: Core singleton class for registering and retrieving Azure resource factories
  • Model Binding Support: Types and interfaces for binding Azure resources to Function parameters
  • Type-Safe Bindings: Type definitions for supported Azure binding types
  • Extension Registration: Foundation for registering extensions in Azure Functions

Integration with Azure Functions

This library serves as a foundation for Azure Functions extensions that provide additional bindings or integration capabilities. For examples of extensions built on this library, see:

License

This project is licensed under the MIT License. See the LICENSE file for details.

Resources


Reporting Issues

If you find a bug or have a suggestion for improvement, please open an issue on our GitHub repository.

版本与发布记录

@azure/functions-extensions-base 共发布 4 个版本,首次发布于 2025/05/14;过去 12 个月发布了 1 个版本。

版本发布日期距今
0.3.0latest2026/04/086 个月前
0.2.02025/11/051 年前
0.2.0-preview2025/07/231.3 年前
0.1.0-preview2025/05/141.5 年前

关于 @azure/functions-extensions-base 的常见问题

@azure/functions-extensions-base 是什么?

Node.js Azure Storage Client extension implementations for Azure Functions

如何安装 @azure/functions-extensions-base?

在项目目录运行 npm install @azure/functions-extensions-base,或使用 pnpm add / yarn add / bun add。

@azure/functions-extensions-base 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@azure/functions-extensions-base 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@azure/functions-extensions-base 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@azure/functions-extensions-base 可以商用吗?

@azure/functions-extensions-base 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@azure/functions-extensions-base 的下载量有多少?

根据 npm 官方下载统计,@azure/functions-extensions-base 在 2026/10/08 – 2026/11/06 这 30 天内被下载 5,672,539 次,日均约 189,085 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@azure/functions-extensions-base 还在维护吗?

最新版本 0.3.0 发布于 2026/04/08(6 个月前);至今共发布 4 个版本,其中过去 12 个月发布了 1 个;首次发布于 2025/05/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。