Skip to content

Navigation Menu

Sign in
Sign up

Is nub suitable for running a production web server? #579

Unanswered
bessey asked this question in Q&A
Discussion options

I note that the FAQ implies its not, but the feature set includes many things that you couldn't adopt in a web server if you need an alternative solution for production

  • 🆕 Modern syntax like using (downleveled in transpiler when needed)
  • 🔐 Automatic .env* loading — Next.js/Vite parity
  • 🗂️ Built-in loaders for common data formats — .yaml, .toml, .jsonc, .json5, .txt
  • 🌐 Polyfills for Temporal, Worker, URLPattern (when needed)

If nub is so fast, maybe its ok to start your prod web containers with nub server.ts?

You must be logged in to vote

Replies: 1 comment

Comment options

nub adds tooling arround node js, so you must be good, i suggest you to build you app and run the js.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /