@resconet/jsbridge

中文文档
19.2.0发布于 2026/11/02MITTypeScriptCommonJS零依赖构建来源已验证

Install npm JSBridge module

原始使用文档
文档目录4 节
  1. JSBridge
  2. Introduction
  3. IFrame
  4. In this Repository

JSBridge

JSBridge - Javascript API for Resco Mobile CRM

Getting started with working and debugging of an offline HTML solution.
https://www.resco.net/debugging-offline-html-solution/

Introduction

Resco Mobile CRM application functionality can be extended using HTML + Javascript code. Your html file containing custom code can be executed both online and offline. Offline html files are part of Woodford customization project.

Watch webinars for intro to OfflineHTML in Resco MobileCRM.
Webinar Offline HTML in Resco Mobile CRM - Part 1/2 (Intro)
Webinar Offline HTML in Resco Mobile CRM - Part 2/2 (Data Access)

Release contains the debugging/development build(s) of the Resco Mobile CRM application.
Per platform application packages are available.

IFrame

You can put a web browser, known as IFrame, in various components in the app. IFrames can be used within EntityForm, EntityList or within HomeForm. IFrame points to your custom html code file.

In this Repository

docs
Description of the methods and objects defined in Resco JavaScript Bridge.
Latest Reference
Guide

samples
Code samples of methods and components described in JSBridge reference. Each sample is ready to be implemented and tested.

src
Download the latest and version of Resco JavaScript Bridge file to use in your projects.
Latest Version (Use history to get an older version)

tools
Additionation debugging/development tools.

版本与发布记录

@resconet/jsbridge 共发布 75 个版本,首次发布于 2020/02/04;过去 12 个月发布了 10 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
19.2.0latest2026/11/021 天前
19.2.0-beta.1beta2026/08/033 个月前
19.1.22026/07/233 个月前
19.1.12026/07/014 个月前
19.1.02026/06/084 个月前
19.1.0-beta.22026/04/286 个月前

关于 @resconet/jsbridge 的常见问题

@resconet/jsbridge 是什么?

安装npm JSBridge模块

如何安装 @resconet/jsbridge?

在项目目录运行 npm install @resconet/jsbridge,或使用 pnpm add / yarn add / bun add。

@resconet/jsbridge 支持 TypeScript 吗?

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

@resconet/jsbridge 支持 ESM 还是 CommonJS?

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

@resconet/jsbridge 可以商用吗?

@resconet/jsbridge 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@resconet/jsbridge 还在维护吗?

最新版本 19.2.0 发布于 2026/11/02(1 天前);至今共发布 75 个版本,其中过去 12 个月发布了 10 个;首次发布于 2020/02/04。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。