brain-implosion-energy 1.2.0 → 1.3.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/package.json +2 -2
- package/test/test.mts +18 -0
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brain-implosion-energy",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "10,000 packages of unutility!",
|
|
5
5
|
"main": "index.mts",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "
|
|
7
|
+
"test": "clear && npx tsx ./test/test.mts"
|
|
8
8
|
},
|
|
9
9
|
"keywords": [],
|
|
10
10
|
"author": "",
|
package/test/test.mts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as bie from "../index.mjs" // imagine this is the package
|
|
2
|
+
// import express from "express"
|
|
3
|
+
|
|
4
|
+
bie.about() // equal to bie.default() or the below...
|
|
5
|
+
/**
|
|
6
|
+
* import bie from "brain-implosion-energy"
|
|
7
|
+
* bie()
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
bie.BIEfetch().then((value)=>{
|
|
11
|
+
console.log(value)
|
|
12
|
+
})
|
|
13
|
+
|
|
14
|
+
// const app = express()
|
|
15
|
+
//
|
|
16
|
+
// app.get("/", bie.BIEapp)
|
|
17
|
+
//
|
|
18
|
+
// app.listen(3000)
|