brain-implosion-energy 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mts +3 -1
- package/package.json +3 -2
package/index.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { NextFunction, Request, Response } from "express";
|
|
2
|
+
import { request as UndiciRequest } from "undici";
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* About the package
|
|
@@ -75,7 +76,8 @@ export function BIEapp(req: Request, res: Response, next: NextFunction){
|
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
export async function BIEfetch(){
|
|
78
|
-
|
|
79
|
+
const pureCaffeine = await UndiciRequest("https://angelsites.neocities.org/bie.txt")
|
|
80
|
+
return pureCaffeine.body.text()
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
export default about
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brain-implosion-energy",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "10,000 packages of unutility!",
|
|
5
5
|
"main": "index.mts",
|
|
6
6
|
"scripts": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/express": "^5.0.6",
|
|
18
|
-
"express": "^5.2.1"
|
|
18
|
+
"express": "^5.2.1",
|
|
19
|
+
"undici": "^8.0.2"
|
|
19
20
|
}
|
|
20
21
|
}
|