@tryforge/webserver
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @tryforge/webserver

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

3.42 kB

Total Files

6

Last publish

Collaborators

  • yuzudaneko
  • berk404
  • aggelos_007