Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

chef-js

start cooking!

  • 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

Express

npm version build status

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

Socket

npm version build status

On top of the base adds socket.io for websockets functionality on the same port.

npx chef-socket folder [--plugin node_modules/chef-socket/chat.js]

see chef-socket to find out more

demo (with chat plugin)

https://chef-socket.pietal.dev/