wot.js (basque): small, tiny.
wot.js is a small and powerful JavaScript runtime. It's built on the shoulders of giants: it uses [QuickJS] as its JavaScript engine and [libuv] as the platform layer.
- Console API
- URL & URLSearchParams
- TextEncoder / TextDecoder APIs
- EventTarget / Event / CustomEvent
- fetch (including AbortController)
- Performance API
- Worker API
- Crypto API
- TCP and UDP sockets
- TTY handles
- Unix sockets / named pipes
- Timers
- Signals
- File operations
- Event loop
- High-resolution time
- Miscellaneous utility functions
- Worker threads
- Child processes
- DNS (getaddrinfo)
Other extras:
- path module
- mqtt module
- serial module
- BigFloat and BigDecimal extensions
- GNU/Linux
[CMake] is necessary.
# Get the code
git clone https://www.github.com/czanyou/wotjs-core.git
cd wotjs-core
# Compile it!
make build
# Run the REPL
./build/tjs
wot.js stands on shoulders of giants. It wouldn't be what it is today without these libraries:
- [QuickJS]: JavaScript engine
- [libuv]: platform abstraction layer
In addition, wot.js has these [contributors] to thank for their help.
[QuickJS]: `https://bellard.org/quickjs/`
[libuv]: `https://libuv.org/`
[CMake]: `https://cmake.org/`
[txiki.js]: `https://github.com/saghul/txiki.js/graphs/contributors`