Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 701 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 701 Bytes

typeflex

Github Actions

NPM

Typescript implementation of CSS flexbox layout algorithm, a pure typescript port of Facebook's Yoga.

Status

  • Fully compatible with Yoga javascript API.
  • Passing all tests.

Why?

The main reason of this port is to be able to run Yoga in older devices that don't support asm.js and WebAssembly.

And it is possible to compile it to WebAssembly using AssemblyScript. (not yet)

This was inspired by https://github.com/kjk/flex (golang yoga port)