Skip to content

flow-web 0.2.0

Install from the command line:
Learn more about npm packages
$ npm install @estuary/flow-web@0.2.0
Install via package.json:
"@estuary/flow-web": "0.2.0"

About this version

Flow all up in your browser

This is the source for the flow-web NPM package, which exposes Javascript/Typescript bindings to Flow library functions in Web Assembly (WASM). The gist is that we compile this Rust crate to WASM and then generate the corresponding JS/TS files using wasm-bindgen. We use wasm-pack to put everything together into an NPM package that works with Webpack, and publish that to Github packages.

Prerequisites

In order to build this crate, you need the following things installed:

  • wasm-pack CLI
  • The wasm32-unknown-unknown compilation target (rustup target add wasm32-unknown-unknown)

🛠️ Build with wasm-pack build

wasm-pack build crates/flow-web

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox crates/flow-web

Capabilities

Currently, this only exposes a basic schema inference function, to prove out the functionality and give us a starting point. We'll very likely need to add functionality in order to make this truly useful by the UI.

Details


Assets

  • flow-web-0.2.0.tgz

Download activity

  • Total downloads 44
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all