# @furo/fbp

> Declarative programming with web-components.

Latest version **6.15.0** (published 2025-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @furo/fbp
pnpm add @furo/fbp
yarn add @furo/fbp
bun add @furo/fbp
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 6.15.0 |
| Published | 2025-08-01 |
| First published | 2018-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10.0 |
| Dependencies | 1 |
| Unpacked size | 390.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | veith |
| Maintainers | veith, maltenorstroem |
| Keywords | web-components, flow based programming, flowbased, flow |

## Links

- npm: https://www.npmjs.com/package/@furo/fbp
- Repository: git@github.com:eclipse/eclipsefuro-web.git
- Homepage: https://fbp.furo.pro
- npm.io page: https://npm.io/package/@furo/fbp

## Dependencies (1)

- [lit](https://npm.io/package/lit.md) ^3.2.1

## Recent versions

- 6.15.0 (latest) — 2025-08-01
- 6.14.0 — 2024-11-24
- 6.13.0 — 2024-04-10
- 6.12.0 — 2024-03-23
- 6.11.0 — 2023-11-10
- 6.10.0-rc.2 — 2023-10-06
- 6.10.0-rc.1 — 2023-10-01
- 6.9.0 — 2023-09-17
- 6.7.9 — 2023-05-17
- 6.7.7 — 2023-05-16
- 6.7.6 — 2023-05-14
- 6.7.5 — 2023-05-13
- 6.7.4 — 2023-05-13
- 6.7.3 — 2023-05-13
- 6.7.2 — 2023-05-13
- … 149 more at https://npm.io/package/@furo/fbp/versions

## README

# furo flow based programming

## installation
If you work with your own components and just want to have the fbp capability, install [furo-fbp](/api/fbp/doc/FBP).

```bash
    npm install --save @furo/fbp
```


## Basic Usage
After you have furo-fbp installed, import the fbp mixin and use it in your component.

### Import
```javascript
import {FBP} from "@furo/fbp";
```

### FBP with lit-element
To use FBP with lit, just extend your class.
```javascript
class MyComponent extends FBP(LitElement) {
  
}
window.customElements.define('my-component', MyComponent);
```




### FBP with native web-components
To use furo-fbp with native components, call `this._appendFBP(this.shadowRoot);` to enable fbp.

```javascript
class MyComponent extends FBP(HTMLElement) {

  constructor() {
    super();
    // Create a shadow root to the element.
    this.attachShadow({mode: 'open'});
    this.shadowRoot.appendChild(template.content.cloneNode(true));
    // Append FBP to my-component
    this._appendFBP(this.shadowRoot);
  }
 
}

window.customElements.define('my-component', MyComponent);

```


### FBP with polymer
To use FBP with polymer, just extend your class.
```javascript
class MyComponent extends FBP(PolymerElement) {
  
}
window.customElements.define('my-component', MyComponent);
```


## Detailed documentation
Read more about @furo/fbp on the  [documentation pages](https://furo.pro).



## License

MIT

---
_Source: https://npm.io/package/@furo/fbp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
