Skip to content
/ typeflex Public

Typescript implementation of CSS flexbox layout algorithm.

License

Notifications You must be signed in to change notification settings

dead/typeflex

Repository files navigation

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)

About

Typescript implementation of CSS flexbox layout algorithm.

Resources

License

Stars

Watchers

Forks

Packages

No packages published