轻松打包 Node.js Azure 函数

Azure Functions Pack 不再被维护,已由“从程序包运行”取代,以解决冷启动延迟问题。

“从程序包运行”压缩所有文件到一个文件中以减少文件读取延迟。它还保留文件为一个有效负载,并使用比默认文件系统更快的虚拟文件系统来解决相同的问题。该功能可用于所有语言编写的函数应用程序,并提供原子性、可预测性和更快的部署等优势。您可以在以下链接了解有关“从程序包运行”的更多信息:

从程序包运行的好处

从程序包部署的好处

zip
azure-functions-pack-dev.zip 预估大小:57个文件
folder
azure-functions-pack-dev 文件夹
file
.travis.yml 180B
file
sshd_config 334B
file
package.json 2KB
file
tslint.json 64B
folder
test 文件夹
file
perfrun.ps1 3KB
file
tslint.json 123B
folder
e2e 文件夹
folder
sample 文件夹
folder
libimport 文件夹
file
index.js 289B
file
function.json 214B
folder
externalScriptFile 文件夹
file
function.json 260B
folder
cs-ignoreme 文件夹
file
function.json 246B
file
run.csx 181B
folder
cs-ignoreme-v2 文件夹
file
function.json 246B
file
run.csx 284B
file
host.json 41B
folder
scriptFile 文件夹
file
index.js 231B
file
function.json 250B
file
usemeinstead.js 230B
file
package.json 387B
folder
entryPoint 文件夹
file
index.js 475B
file
function.json 237B
folder
simple 文件夹
file
index.js 196B
file
function.json 214B
file
package-lock.json 47KB
folder
excluded 文件夹
file
index.js 248B
file
function.json 241B
folder
largeimport 文件夹
file
index.js 277B
file
function.json 214B
folder
simpleimport 文件夹
file
index.js 280B
file
function.json 214B
file
.gitignore 179B
file
funcpack.config.json 47B
folder
lib 文件夹
file
externalScriptFile.js 214B
file
model.js 314B
folder
fs-ignoremeScriptFile 文件夹
file
run.fsx 270B
file
project.json 120B
file
function.json 268B
file
e2e.test.ts 9KB
folder
util 文件夹
file
ProcessHelper.ts 2KB
file
FunctionHost.ts 2KB
file
FunctionHostHarness.ts 1KB
file
LICENSE 1KB
file
package-lock.json 110KB
folder
src 文件夹
file
webpack-runner.ts 4KB
file
packhost-generator.ts 9KB
file
main.ts 5KB
file
unpack.ts 3KB
folder
utils 文件夹
file
fs-helper.ts 4KB
file
config-loader.ts 478B
file
index.ts 62B
file
index.ts 98B
file
tsconfig.json 382B
file
.gitignore 79B
file
README.md 5KB
file
dockerfile 495B
folder
.vscode 文件夹
file
launch.json 4KB
file
settings.json 58B
file
tasks.json 346B
...
zip 文件大小:66.94KB