Commit Graph
57 Commits
Author SHA1 Message Date
Flummi bc79a439cd feat: update json method in Response interface to accept JSON type 2025-03-20 11:54:00 +01:00
Flummi c3ca8f5761 feat: add status method to Response interface and implement in Flummpress class 2025-03-19 17:59:54 +01:00
Flummi c6da7a4dd5 Typescript 🖕 2025-03-19 13:57:32 +01:00
Flummi 440d9788a2 xd 2025-03-19 13:41:02 +01:00
Flummi c3bb51f533 feat: export Request and Handler types from index files 2025-03-19 13:36:39 +01:00
Flummi 75d066cf36 refactor: change access modifiers for properties in Template class to public 2025-03-19 13:10:36 +01:00
Flummi 9f5c0f4dea declare 2025-03-19 12:57:51 +01:00
Flummi b6757715e3 Revert "-.-"
This reverts commit 945832b6c2.
2025-03-19 12:57:19 +01:00
Flummi 945832b6c2 -.- 2025-03-19 12:42:10 +01:00
Flummi 953af4564b remove unused test file 2025-03-17 10:56:45 +01:00
Flummi 63bdc0d0ed html -> md 2025-03-17 10:47:11 +01:00
Flummi b72ed99fb8 validate that routes are an array before merging with another Router instance 2025-03-17 10:37:28 +01:00
Flummi c6f87538f6 idk xD 2025-03-17 10:07:09 +01:00
Flummi 308301cb2c refactor router methods to use rest parameters for handler functions 2025-03-17 09:34:41 +01:00
Flummi 3e7851aae2 object -> array 2025-03-17 09:22:02 +01:00
Flummi b694b14065 idk 2025-03-17 09:04:11 +01:00
Flummi 566a1b671c refactor router to use array for route storage and improve route handling 2025-03-17 07:09:03 +01:00
Flummi ce9f313220 refactor router to improve route registration and handler management 2025-03-17 06:46:53 +01:00
Flummi 0415507c48 blah 2025-03-16 18:44:02 +01:00
Flummi 567f100f0a add initial documentation files 2025-03-16 18:42:38 +01:00
Flummi 0419994ae6 refactor types and improve handler processing 2025-03-16 18:42:17 +01:00
Flummi 74f759eaef remove unused imports 2025-03-15 23:33:33 +01:00
Flummi 3aa7673d5d refactor request handling to replace parsedUrl with url for consistency and improve type definitions 2025-03-15 23:32:54 +01:00
Flummi 4514a37999 refactor request handling to improve type safety and streamline request parsing 2025-03-15 22:45:13 +01:00
Flummi dc8c150ce8 improve cookie handling by ensuring cookies are properly typed and refactor data event listener for consistency 2025-03-15 22:29:42 +01:00
Flummi edd50ef9b1 clean up imports in index.ts and router.ts, improve types in router.ts and types.d.ts 2025-03-15 22:00:18 +01:00
Flummi 57f8c5d18c Optimiere Middleware-Verarbeitung in Flummpress und Router, verbessere Typen für Middleware 2025-03-15 21:28:13 +01:00
Flummi 31230f272f Aktualisiere Paketname und Version in package.json, füge Beschreibung hinzu 2025-03-15 18:31:40 +01:00
Flummi 9acd8f405b Refaktoriere Anfrage- und Antworttypen in separate Datei, verbessere die Typen für Middleware und RouteCallback 2025-03-15 18:31:33 +01:00
Flummi f2cf3821f2 Erweitere die Flummpress-Klasse um Response- und Middleware-Typen, verbessere die Fehlerbehandlung und optimiere die Anfrageverarbeitung 2025-03-15 16:41:11 +01:00
Flummi 2f6f833549 Aktualisiere Importe auf Node.js-Module und passe .gitignore an 2025-03-15 16:26:59 +01:00
Flummi 8554cdb396 Dateien nach "src" hochladen 2025-03-15 13:26:20 +00:00
Flummi 776c610574 Dateien nach "/" hochladen 2025-03-15 13:25:46 +00:00
Flummi b392003f0b src/template.mjs gelöscht 2025-03-15 13:24:58 +00:00
Flummi ad1536ff2e src/router.mjs gelöscht 2025-03-15 13:24:55 +00:00
Flummi 930f232a93 src/index.mjs gelöscht 2025-03-15 13:24:52 +00:00
Flummi be538a887a README.md gelöscht 2025-03-15 13:24:46 +00:00
Flummi c5350a2c68 package.json gelöscht 2025-03-15 13:24:41 +00:00
Flummi 7f02123115 bytesize instead of length 2023-05-03 00:30:36 +02:00
Flummi d57951a41d bump version 2023-04-26 15:14:12 +02:00
Flummi 4edafbcb7b head & content-length (wip) 2023-04-26 15:13:38 +02:00
Flummi 0cd49572a6 bump version 2022-05-04 14:43:38 +02:00
Flummi aa4629853f send proper content-length 2022-05-04 14:42:53 +02:00
Flummi 431aeda80b import routes recursive 2022-03-27 15:53:33 +02:00
Flummi 2c77caf4f5 json reply: auto stringify and proper codes 2022-03-26 20:10:47 +01:00
Flummi c3e9a3ab00 add more methods 2022-03-24 17:17:55 +01:00
Flummi 0feab31d7f version bump to 2.0.1 2021-12-25 14:14:48 +01:00
Flummi 79db8108ea @mtime() 2021-12-25 14:14:17 +01:00
Flummi 218a925599 version bump 2021-12-04 11:23:48 +01:00
Flummi 3281a491a6 ... 2021-12-04 11:00:40 +01:00