https://github.com/thin-edge/tedge-flows-examples
Experimental repository to exchange examples which use the upcoming generic tedge-mapper feature
https://github.com/thin-edge/tedge-flows-examples
Last synced: 2 months ago
JSON representation
Experimental repository to exchange examples which use the upcoming generic tedge-mapper feature
- Host: GitHub
- URL: https://github.com/thin-edge/tedge-flows-examples
- Owner: thin-edge
- License: apache-2.0
- Created: 2025-07-03T14:27:26.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2026-03-28T08:16:13.000Z (3 months ago)
- Last Synced: 2026-03-28T12:42:58.530Z (3 months ago)
- Language: TypeScript
- Size: 728 KB
- Stars: 1
- Watchers: 0
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tedge-flows-examples
Experimental repository to exchange examples which use the upcoming tedge-flows feature.
## Building locally
You can build the flows locally with the following steps which requires nodejs >= 20.
1. Install the dependencies (using `npm ci` instead of `npm install` to install the exact versions defined in the package-lock.json file)
```sh
npm ci
```
2. Build all the flows
```sh
npm run build-all
```
Each bundled flow is stored under the `lib/main.js` of its flows directory. For example, for the `uptime` flow, the bundled file can be found under:
```sh
ls -l flows/uptime/lib/main.js
```
## Adding a new flow to the workspace
You can create a new flow (from a template) using the following command:
```sh
npm run generate-flow myflow1
```