@bigcommerce/stencil-paper-handlebars

中文文档
6.6.4发布于 2026/08/18BSD-4-ClauseCommonJS构建来源已验证近 30 天下载 1.2万

A paper plugin to render pages using Handlebars.js

原始使用文档

paper-handlebars

Ask DeepWiki Build Status npm (scoped)

paper-handlebars is a plugin for Paper. Its duty is to render pages and strings using the Handlebars template engine.

Helpers Reference

See the Stencil API Reference for documentation on the available helpers.

License

Copyright (c) 2015-2018, Bigcommerce Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by Bigcommerce Inc.
  4. Neither the name of Bigcommerce Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY BIGCOMMERCE INC ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BIGCOMMERCE INC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

版本与发布记录

@bigcommerce/stencil-paper-handlebars 共发布 133 个版本,首次发布于 2018/01/12;过去 12 个月发布了 7 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
6.6.4latest2026/08/182 个月前
6.6.32026/07/293 个月前
6.6.22026/07/143 个月前
6.6.12026/06/114 个月前
6.6.02026/05/255 个月前
6.5.12026/03/317 个月前

其他发布通道:unstable → 4.5.0-rc.1,next → 4.5.0-rc.2。

关于 @bigcommerce/stencil-paper-handlebars 的常见问题

@bigcommerce/stencil-paper-handlebars 是什么?

A paper plugin to render pages using Handlebars.js

如何安装 @bigcommerce/stencil-paper-handlebars?

在项目目录运行 npm install @bigcommerce/stencil-paper-handlebars,或使用 pnpm add / yarn add / bun add。

@bigcommerce/stencil-paper-handlebars 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/bigcommerce__stencil-paper-handlebars 是否存在。

@bigcommerce/stencil-paper-handlebars 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@bigcommerce/stencil-paper-handlebars 需要什么版本的 Node.js?

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

@bigcommerce/stencil-paper-handlebars 可以商用吗?

@bigcommerce/stencil-paper-handlebars 使用 BSD-4-Clause 许可。声明的许可为 BSD-4-Clause,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@bigcommerce/stencil-paper-handlebars 的下载量有多少?

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

@bigcommerce/stencil-paper-handlebars 还在维护吗?

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