Getting started

Requirements

  • node.js 11
  • there are no prebuilt binaries yet so you might need additional tooling in order to build native extension (see below)
  • install rustc 1.31.1 & cargo 1.31.0 with rustup
    • check you have rustfmt installed (or do rustup component add rustfmt)

Debian/Ubuntu

sudo apt install g++ cmake pkg-config python libfreetype6 libfreetype6-dev expat libexpat-dev

OSX/MacOs

xcode-select --install brew install cmake pango

Win

  • track here but it's a bit like never-ending story so any help would be very welcome.

Starters

Easiest way to start is to clone one of these repos. Note that you will need to build native extension too so the steps above still apply.

Getting started

npm i node-webrender

There is react binding which is similar to react-native. Vue bindings will be added as soon as Vue3 will get published.

Low-level api is currently unstable and intentionally undocumented.