import { FloorPlanEngine } from '@archilogic/floor-plan-sdk'
es module import via CDN
import { FloorPlanEngine } from 'https://esm.sh/@archilogic/floor-plan-sdk'
<script type="module">
import { FloorPlanEngine } from 'https://esm.sh/@archilogic/floor-plan-sdk'
</script>
Note: The SDK is ESM-only. It cannot be require()d from CommonJS, and there is no UMD
build exposing a FloorPlanSdk global — load it as a module via the snippets above.
以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。
@archilogic/floor-plan-sdk 可以商用吗?
@archilogic/floor-plan-sdk 使用 according to your license agreement with Archilogic AG 许可。声明的许可为 according to your license agreement with Archilogic AG,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。