Skip to content
On this page

Server Api ​

Prext is running on osik which was made for speed and weight.

If you want information of osik, visit here.

Prext() ​

It creates a core server.

ts
import { Prext } from 'prext';

const server = await Prext({
  /* config */
});

// middleware

server.use((req, res, next) => {
  next();
});

server.listen(3000, () => {});