-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathconfigs.js
More file actions
43 lines (40 loc) · 1.19 KB
/
configs.js
File metadata and controls
43 lines (40 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* Copyright © 2025 [ balxzzy ]
*
* All rights reserved. This source code is the property of [ Shiina Team ].
* Unauthorized copying, distribution, modification, or use of this file,
* via any medium, is strictly prohibited without prior written permission.
*
* This software is protected under international copyright laws.
*
* Contact: [ pa424013@gmail.com ]
* GitHub: https://github.com/balxz
*/
const express = require("express")
const path = require("path")
const fs = require("fs")
const chalk = require("chalk")
const open = require("open")
const axios = require("axios")
const SH = () => ({
name: "SH - API",
version: "1.0.0",
description: "SHIINA is a free, simple REST API created by balxzzy for the common good. Feel free to use it, but please avoid DDoS attacks.",
banner: "https://files.catbox.moe/mbeerk.jpg",
status: "online.",
creator: "balxzzy"
})
//console.log(SH())
module.exports = SH()
global.path = path
global.fs = fs
global.chalk = chalk
global.open = open
global.axios = axios
global.app = express()
global.express = express
let file = require.resolve(__filename)
fs.watchFile(file, () => {
fs.unwatchFile(file)
delete require.cache[file]
})