typeflex
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

typeflex

CircleCI 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)

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i typeflex

    Weekly Downloads

    26

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    1.6 MB

    Total Files

    53

    Last publish

    Collaborators

    • dead