Skip to content
@chef-js

chef-js

$ npx chef-express folder

  • on the same port:
  • static-files-server designed for single-page-applications
  • 404's fallback to index.html with a 200 status code
  • written in typescript, usable as a command-line-interface (or runtime libraries)
  • with many tests and continuous-integration
  • and [optional] web-sockets micro-service manager

Express

npm package version tests status

The most basic flavor of the core library - doesn't have websockets functionality

npx chef-express folder

open

http://localhost:4200

see chef-express for more information about command line parameters

Socket

npm package version tests status

On top of the Express adds socket.io for websockets functionality (at the same port as the http server)

npx chef-socket folder --plugin path/to/plugin.js

demo (with chat plugin)

https://chef-js-socket.herokuapp.com/

see chef-socket to find out more

UWS

npm package version tests status

Skipping Express and using the microwebsockets library that is alternative to socket.io

npx chef-uws folder --plugin path/to/plugin.js

demo (with chat plugin)

https://chef-js-uws.herokuapp.com/

see chef-uws to find out more

Core

npm package version tests status

A base library for above 3 having the plugin handling and static-files serving functionalities inside

see chef-core to find out more

Pinned Loading

  1. express express Public

    Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Express

    JavaScript 1 1

  2. socket socket Public

    Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Socket.IO

    TypeScript 1

  3. uws uws Public

    Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Microwebsockets

    JavaScript 2 1

  4. core core Public

    Internal Shared Functionalities for Command Line Interface Static Files Server written in TypeScript

    TypeScript 2

Repositories

Showing 5 of 5 repositories
  • express Public

    Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Express

    chef-js/express’s past year of commit activity
    JavaScript 1 1 0 0 Updated Jun 8, 2024
  • socket Public

    Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Socket.IO

    chef-js/socket’s past year of commit activity
    TypeScript 0 1 0 0 Updated Jun 8, 2024
  • uws Public

    Command Line Interface Static Files Server written in TypeScript for Single Page Applications serving in Node with Microwebsockets

    chef-js/uws’s past year of commit activity
    JavaScript 2 1 0 0 Updated May 23, 2024
  • core Public

    Internal Shared Functionalities for Command Line Interface Static Files Server written in TypeScript

    chef-js/core’s past year of commit activity
    TypeScript 2 0 0 0 Updated May 23, 2024
  • .github Public
    chef-js/.github’s past year of commit activity
    0 MIT 0 0 0 Updated Jun 11, 2023

Top languages

Loading…

Most used topics

Loading…