Web Platform APIs
txiki.js implements a number of Web Platform APIs to provide a familiar environment for JavaScript developers.
Supported APIs
| API | Notes |
|---|---|
| alert, confirm, prompt | All of them are async |
| Console | |
| Crypto | No subtle support |
| Direct Sockets | |
| Encoding API | |
| EventTarget | |
| fetch | |
| JSON modules | |
| Performance | |
| setTimeout, setInterval | |
| Storage API | |
| Streams API | |
| URL | |
| URLPattern | |
| URLSearchParams | |
| WebAssembly | No tables, globals or memory support |
| WebSocket | |
| Web Workers |
WinterTC compliance
txiki.js aims to be WinterTC compliant. You can track the progress here.