Skip to content
Proyek

Tentang

Runtime JavaScript berukuran kecil.

Bahasa pemrograman dan runtime

Cara angka ini diukur

3,337 bintang240 Fork +3 dalam 24 jam

Yang dapat Anda lakukan

  • Web Platform APIs: fetch, WebSocket, Console, setTimeout, Crypto, Web Workers, and more
  • TCP, UDP, and Unix sockets
  • HTTP server with WebSocket support
  • File I/O, child processes, signal handling

Pertumbuhan bintang terukur

dalam 24 jam
+3
dalam 7 hari
+8
dalam 15 hari
+10
dalam 1 bulan
+24

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

txiki.js — The tiny JavaScript runtime

txiki /ˈtʃiki/ (Basque): small, tiny.

txiki.js is a small and powerful JavaScript runtime. It targets state-of-the-art ECMAScript and aims to be WinterTC compliant.

It's built on the shoulders of giants: it uses QuickJS-ng as its JavaScript engine and libuv as the platform layer.

Quick start

# Get the code
git clone --recursive https://github.com/saghul/txiki.js --shallow-submodules && cd txiki.js
# Compile it!
make
# Run the REPL
./build/tjs

See Building for detailed instructions including Windows support.

Features

  • Web Platform APIs: fetch, WebSocket, Console, setTimeout, Crypto, Web Workers, and more
  • TCP, UDP, and Unix sockets
  • HTTP server with WebSocket support
  • File I/O, child processes, signal handling
  • Standard library: tjs:sqlite, tjs:ffi, tjs:path, tjs:hashing, and more
  • Standalone executables via tjs compile

Documentation

Full documentation is available at txikijs.org.

Supported platforms

  • GNU/Linux
  • macOS
  • Windows
  • Other Unixes (please test!)

Built with ❤️ by saghul and these awesome contributors.

Jelajahi proyek terkait

Memuat…