- chef-* is a static-files-server
- written in typescript
- usable as a command-line-tool (or runtime library)
- with many tests and continuous-integration
- optional 404 fallback to index.html with a 200 status code (spa)
- optional cache
- optional web-sockets micro-service manager on same port
The most basic flavor of the core library - serve folder. port defaults to 3000
npx chef-express folder
see chef-express for more information about command line parameters
On top of the base adds socket.io for websockets functionality on the same port.
npx chef-socket folder --plugin path/to/plugin.js
see chef-socket to find out more