https://github.com/dead/typeflex
Typescript implementation of CSS flexbox layout algorithm.
https://github.com/dead/typeflex
Last synced: about 1 year ago
JSON representation
Typescript implementation of CSS flexbox layout algorithm.
- Host: GitHub
- URL: https://github.com/dead/typeflex
- Owner: dead
- License: mit
- Created: 2018-07-09T10:27:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-20T18:52:33.000Z (over 4 years ago)
- Last Synced: 2025-03-18T15:33:28.559Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.1 MB
- Stars: 59
- Watchers: 6
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# typeflex

[](https://nodei.co/npm/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](https://github.com/AssemblyScript/assemblyscript).~~ (not yet)
This was inspired by https://github.com/kjk/flex (golang yoga port)