initialize node project

This commit is contained in:
2025-01-09 02:24:43 -05:00
parent 61e310a5c6
commit 44453b9f55
9 changed files with 1156 additions and 0 deletions

7
src/Web.ts Normal file
View File

@@ -0,0 +1,7 @@
class Web {
constructor(options = {}) {
}
}
export default Web;

7
src/index.ts Normal file
View File

@@ -0,0 +1,7 @@
import fs from 'fs';
import path from 'path';
import Web from './Web.ts';
const config = JSON.parse(await fs.promises.readFile(process.env.config || path.join('config', 'config.json'), 'utf-8'));
const web = new Web(config);