BrainyFlow is currently available for both Python and TypeScript.
You can install the Python package using pip:
pip install brainyflow
You can install the TypeScript package using pnpm (or npm/yarn):
pnpm add brainyflow
# or
npm install brainyflow
# or
yarn add brainyflow
You can import the JavaScript file directly in the browser using a <script>
tag:
<script type="module">
import * as brainyflow from 'https://unpkg.com/brainyflow@latest/dist/brainyflow.js'
new brainyflow.Node(...)
</script>
or
<script type="module" src="https://unpkg.com/brainyflow@latest/dist/brainyflow.js"></script>
<script>
new globalThis.brainyflow.Node(...)
</script>
Alternative: Copy the Source Code
Since BrainyFlow is lightweight and dependency-free, you can also install it by simply copying the source code file directly into your project:
Next Steps
Once you have BrainyFlow installed, check out the guide to build your first flow, or explore the to understand the framework's fundamental concepts.