mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-28 09:58:11 +03:00
10 lines
286 B
TypeScript
10 lines
286 B
TypeScript
import fs from "fs";
|
|
import db from "../../db/db";
|
|
import path from "path";
|
|
|
|
(async () => {
|
|
let data = await db.scores.find({ game: "iidx", playtype: "SP" }, { limit: 1000 });
|
|
fs.writeFileSync(path.join(__dirname, "data.json"), JSON.stringify(data));
|
|
process.exit(0);
|
|
})();
|