LicensePlain EN 访问 —
宽松型SPDX Zlib

zlib 许可证:许可证全文

以下是标准文本,除版权行里的占位符外一字未改。把 <year> 与 <copyright holders> 换成你的信息即可——不应做别的修改。

纯文本,含版权占位符
zlib License

Copyright (c) <year> <copyright holders>

This software is provided 'as-is', without any express or implied warranty. In
no event will the authors be held liable for any damages arising from the use
of this software.

Permission is granted to anyone to use this software for any purpose, including
commercial applications, and to alter it and redistribute it freely, subject to
the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim
   that you wrote the original software. If you use this software in a product,
   an acknowledgment in the product documentation would be appreciated but is
   not required.
2. Altered source versions must be plainly marked as such, and must not be
   misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

怎么安装

  1. 存为 LICENSE放在仓库根目录,不加扩展名。GitHub、GitLab 与 npm 都会识别这个名字。
  2. 填好版权行首次发布年份与权利人。写成 2020–2026 这样的区间也可以。
  3. 随每份拷贝一起分发放进安装包、安装器或「关于」页面——至少有一份用户真能拿到。
  4. 在清单文件里引用package.json 写 "license": "Zlib",pyproject.toml 写 license = "Zlib"。

改字就失效了

你可以在声明上方加自己的版权行,但不能重写授权段落、删减免责声明或去掉条款——许可证就是那段完整文本,不是它的摘要。

它允许什么 商用判定