DigitalTwin
Foundry Local Industrial Sample - Digital Twins Javascript
File Explorer
- app-overview.png
- copilot-panel.png
- kpis-panel.png
- building-all-items-outside.png
- building-check-tree.png
- building-fixed-position.png
- building-tree-fix-verified.png
- building-view.png
- final-validation.png
- building.glb
- generate_building.py
- README.md
- copilot-service.js
- foundry-local-service.js
- hvac-simulator.js
- index.js
- simulator.test.js
- package.json
- app-overview.png
- conference-room.png
- copilot-panel.png
- kpi-panel.png
- mainlobby.png
- mechanical-room.png
- open-office.png
- AppDemo.png
- architecture.md
- blender-mcp-pipeline.md
- copilot-panel.png
- demo-script.md
- building.glb
- favicon.svg
- logo.svg
- AlertPanel.jsx
- AssetTree.jsx
- BuildingScene.jsx
- ControlPanel.jsx
- CopilotChat.jsx
- Icons.jsx
- KPIPanel.jsx
- ModelStatusBanner.jsx
- useTwinStore.js
- App.css
- App.jsx
- main.jsx
- index.html
- package.json
- vite.config.js
- api.test.js
- websocket.test.js
- data-flow.test.js
- e2e.test.js
- health-check.test.js
- twin-schema.test.js
- package.json
- README.md
- run-all-tests.bat
- run-all-tests.ps1
- take-screenshot.js
- twin.baseline.json
- twin.schema.json
- twin.state.json
- .gitignore
- AGENTS.md
- blogpost.md
- CHANGELOG.md
- CONTRIBUTING.md
- LICENSE
- package.json
- README.md
- SECURITY.md
- start-demo.bat
- start-demo.ps1
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
node
View Details ▼
node
Server-side JavaScript platform (Node.js).
node {{path/to/file}}
Run a JavaScript file:
node
Start a REPL (interactive shell):
node --watch {{path/to/file}}
Execute the specified file restarting the process when an imported file is changed (requires Node.js version 18.11+):
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
npm test
View Details ▼
npm test
This command is an alias of `npm run test`.
tldr npm run
View documentation for the original command:
