Objectives

Serverless Registry Model (SRM) is used to define a registry specification based on the serverless architecture. Serverless Registry is similar to Python Package Index (PyPI) and node package manager (npm) in Node.js. With SRM, serverless packages are open to and can be shared with communities to build a serverless ecosystem.

The following table compares Serverless Registry, PyPI, and Node.js npm.

Serverless RegistryPyPINodejs npm
Storage contentServerless packages, including components and applicationsPython packagesNodejs packages
OpenYesYesYes
Official sourceregistry.devsapp.cn/simplepypi.python.orgregistry.npmjs.org
Examples of other sourcesGithub registry Gitee registryTsinghua Open Source Mirror, Douban sourcetnpm cnpm
Private deploymentSupportedSupportedSupported
ToolServerless Devspipnpm
Commandspipnpm
UsageDirect reference in s.yamlReference in code after installationReference in code after installation

This specification provides rules on how to develop and deploy serverless applications. This specification also helps you create a public or private Serverless Registry, which can be used by using Serverless Devs. With this specification, serverless application developers can efficiently use serverless products on different platforms with ease.

Edit this page on GitHub Updated at Fri, Nov 25, 2022