@archilogic/floor-plan-sdk 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -10
- package/dist/fpe.d.ts +239 -118
- package/dist/fpe.js +3275 -2847
- package/dist/fpe.umd.cjs +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,35 +8,31 @@ The @archilogic/floor-plan-sdk package enables you to create and embed interacti
|
|
|
8
8
|
npm i @archilogic/floor-plan-sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
## API Extractor
|
|
12
|
-
|
|
13
|
-
This package uses [API Extractor](https://api-extractor.com/) to generate [API report](./api.md) and [doc model](https://api-extractor.com/pages/overview/demo_docs/#whats-in-the-json-file) files
|
|
14
|
-
|
|
15
|
-
- The API report is used to track changes to the public API. This file is internal and tracked by git
|
|
16
|
-
- The doc model file is distributed with the npm package, and is used to generate the public documentation
|
|
17
|
-
|
|
18
|
-
Both files are generated by the `npm run build:api` command
|
|
19
|
-
|
|
20
11
|
## Usage
|
|
21
12
|
|
|
22
13
|
### npm package
|
|
14
|
+
|
|
23
15
|
```bash
|
|
24
16
|
npm i @archilogic/floor-plan-sdk
|
|
25
17
|
```
|
|
18
|
+
|
|
26
19
|
```js
|
|
27
20
|
import { FloorPlanEngine } from '@archilogic/floor-plan-sdk'
|
|
28
21
|
```
|
|
29
22
|
|
|
30
23
|
### es module import via CDN
|
|
24
|
+
|
|
31
25
|
```js
|
|
32
26
|
import { FloorPlanEngine } from 'https://esm.sh/@archilogic/floor-plan-sdk'
|
|
33
27
|
```
|
|
34
28
|
|
|
35
29
|
### umd module import via CDN
|
|
30
|
+
|
|
36
31
|
```html
|
|
37
32
|
<script src="https://unpkg.com/@archilogic/floor-plan-sdk"></script>
|
|
38
33
|
<script>
|
|
39
|
-
|
|
34
|
+
const { FloorPlanEngine } = FloorPlanSdk
|
|
40
35
|
</script>
|
|
41
36
|
```
|
|
42
37
|
|
|
38
|
+
Check the detailed [documentation](https://developers.archilogic.com/floor-plan-engine/guide).
|