# @checkin\.no/event-registration 中文文档

规范地址：https://npmcn.com/package/%40checkin.no/event-registration/

版本：1\.2\.3
npm 元数据更新时间：2023-03-02T13:23:04.626Z
中文译文更新时间：2026-11-09T17:33:04.696Z
软件包许可：ISC

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40checkin.no/event-registration
原文对照：https://npmcn.com/package/%40checkin.no/event-registration/?lang=original
项目主页：https://github.com/checkin/event-registration#readme
源码仓库：https://github.com/checkin/event-registration

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：188 kB，14 个文件
- 模块格式：ESM + CJS
- TypeScript 类型：包内自带
- 运行依赖：0 个
- 首次发布：2022-11-08T18:03:57.338Z
- 最新版本发布：2023-03-02T13:23:04.517Z
- 近 30 天下载量：2103（2026-10-10 至 2026-11-08，npm 官方下载统计）
- 已发布版本数：19（近 12 个月 0 个）

## 中文简介

在您的网站上加载检查事件注册表 {}

## 安装

```sh
npm install @checkin.no/event-registration
```

也可以使用：`pnpm add @checkin.no/event-registration`、`yarn add @checkin.no/event-registration`、`bun add @checkin.no/event-registration`

## README

# 事件登记

Checkin事件登记表的包装器嵌入了脚本.

-   方便随地随地加载事件注册表
-   预先向与会者填写登记表并订购联系数据
-   很快就会有更多人来了!

[https://www.checkin.no/ (中文(简体) )](https://www.checkin.no/)  
[https://www.checkin.no/signup 互联网档案馆的存檔,存档日期2014-12-02](https://www.checkin.no/signup)

## 尝试这些例子

拖取仓库后

```bash
npm install
```

```bash
npm run build
```

  
请参看如何加载注册表的例子 [这里](https://github.com/checkin/event-registration/blob/master/examples/simple_form_load_example.html)

```bash
npm run example-form-load-start
```

  
如果你想要预选参与者并订购联系数据,  
你可以看到一个例子 如何做到这一点 [这里](https://github.com/checkin/event-registration/blob/master/examples/prefilled_form_example.html)

```bash
npm run example-form-pre_fill-start
```

## 使用量

[npm 软件包](https://www.npmjs.com/package/@checkin.no/event-registration)

```bash
npm install @checkin.no/event-registration
```

显示注册表

```
import { getEventRegistrationForm } from '@checkin.no/event-registration';

//Create registration form instance
const eventRegistrationForm = getEventRegistrationForm(<your-event-id>);

//Will mount registration form in the div with id "checkin_registration"
eventRegistrationForm.initRegistrationForm();
```

连接 crm 属性到连接到命令联系人的参与者

```
eventRegistrationForm.setCrmProperty({
    propertKey: '<crm-property-key>',
    propertyValue: '<crm-property-value>',
    context: 'orderContactParticipant'
});
```

## 常见问题

### @checkin\.no/event-registration 是什么？

在您的网站上加载检查事件注册表 \{\}

### 如何安装 @checkin\.no/event-registration？

在项目目录运行 npm install @checkin\.no/event-registration，或使用 pnpm add / yarn add / bun add。

### @checkin\.no/event-registration 支持 TypeScript 吗？

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

### @checkin\.no/event-registration 支持 ESM 还是 CommonJS？

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

### @checkin\.no/event-registration 可以商用吗？

@checkin\.no/event-registration 使用 ISC 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @checkin\.no/event-registration 的下载量有多少？

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

### @checkin\.no/event-registration 还在维护吗？

最新版本 1\.2\.3 发布于 2023/03/02（3 年前）；至今共发布 19 个版本，其中过去 12 个月发布了 0 个；首次发布于 2022/11/09。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

