https://github.com/cosmiciron/prelayout
Break the DOM speed barrier and say goodbye to layout thrashing: get text size, flow, shapes, and pages as data before you render. Powered by a smoking-fast, DTP-grade layout engine.
https://github.com/cosmiciron/prelayout
browser canvas dom-manipulation frontend-development javascript layout-engine multilingual-ui pretext text-layout text-measurement text-wrapping typography ui
Last synced: 4 days ago
JSON representation
Break the DOM speed barrier and say goodbye to layout thrashing: get text size, flow, shapes, and pages as data before you render. Powered by a smoking-fast, DTP-grade layout engine.
- Host: GitHub
- URL: https://github.com/cosmiciron/prelayout
- Owner: cosmiciron
- License: other
- Created: 2026-04-29T07:08:35.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-29T11:52:06.000Z (about 2 months ago)
- Last Synced: 2026-04-29T13:16:18.146Z (about 2 months ago)
- Topics: browser, canvas, dom-manipulation, frontend-development, javascript, layout-engine, multilingual-ui, pretext, text-layout, text-measurement, text-wrapping, typography, ui
- Language: TypeScript
- Homepage:
- Size: 5.9 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Prelayout has moved to Layoutmaster
Prelayout has been renamed and relaunched as **Layoutmaster**.
New work happens here:
- GitHub: [cosmiciron/layoutmaster](https://github.com/cosmiciron/layoutmaster)
- npm: [`@layoutmaster/layoutmaster`](https://www.npmjs.com/package/@layoutmaster/layoutmaster)
- live demos: [cosmiciron.github.io/layoutmaster](https://cosmiciron.github.io/layoutmaster/)
Install the new package:
```bash
npm install @layoutmaster/layoutmaster
```
Update imports:
```js
import {
form,
fit,
flow,
pour,
produce,
exclusion
} from "@layoutmaster/layoutmaster";
```
This repository is kept online for history and old links. If you are starting
something new, use Layoutmaster.