Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.awfixer.me/llms.txt

Use this file to discover all available pages before exploring further.

Projects that use Express and other major Node.js HTTP libraries should work out of the box.
If you run into bugs, please file an issue in JSTime’s repo, not the library. It is JSTime’s responsibility to address Node.js compatibility issues.
import express from "express";

const app = express();
const port = 8080;

app.get("/", (req, res) => {
  res.send("Hello World!");
});

app.listen(port, () => {
  console.log(`Listening on port ${port}...`);
});
JSTime implements the node:http and node:https modules that these libraries rely on. These modules can also be used directly, though JSTime.serve is recommended for most use cases.
Note — Refer to the Runtime > Node.js APIs page for more detailed compatibility information.
import * as http from "node:http";

http
  .createServer(function (req, res) {
    res.write("Hello World!");
    res.end();
  })
  .listen(8080);