txiki.js

Welcome to the txiki.js documentation

txiki.js is a small and powerful JavaScript runtime. It targets ECMAScript 2020 and implements many web platform features.

On this site you'll find documentation on all the APIs provided by it.

If there is any missing, please open an issue.

Features

Support for the ES2020 specification plus some ES2020+ features like top level await.

Web Platform APIs

(1): All of them are async.

(2): No subtle support.

(3): No tables, globals or memory support.

Runtime features

  • TCP and UDP sockets
  • Unix sockets / named pipes
  • Signal handling
  • File operations
  • Child processes
  • DNS (getaddrinfo)
  • WASI
  • Miscellaneous utility functions

Other extras:

  • Import directly from HTTP(S) URLs
  • Import JSON files
  • BigFloat and BigDecimal extensions
  • Builtin test runner

Standard library

Look at the modules on the left sidebar.

Generated using TypeDoc