Skip to content

tryforge/WebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@tryforge/webserver

This package helps all the developers that want to make an extensions using express and ws without having to worry about having issues with other extensions. Using 2 express and ws extensions can be hard, that's why @tryforge/webserver exists!

Usage

Using this package is really simple, here is everything you need to know:

  1. Install this extension
npm i @tyrforge/webserver
  1. Create your first route
const { app } = require('@tryforge/webserver')

const server = new app(port)
//And from now on you can use anything that express uses!
//If you wanna use ws then just do server.ws and you can use whatever ws uses!
  1. Have fun making your own forge extension that requires express and/or ws

Credits

This package was made by aggelos, a developer of ForgeScript. Use ForgeScript, it's better and easier.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published