Skip to content
项目

关于

一个小巧的 JavaScript 运行时

编程语言与运行时

这些数字如何统计

可以做什么

  • 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

实测星标增长

24小时
+3
7天
+8
15天
+10
1个月
+24

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…