typeflex2
v0.3.1
Published
Typescript implementation of CSS flexbox layout algorithm, a pure typescript port of Facebook's Yoga
Downloads
11
Maintainers
Readme
typeflex
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)