加一下packages

This commit is contained in:
shenjack-5600u 2024-05-09 21:46:17 +08:00
parent 26133c3c00
commit 71e07970c0
Signed by: shenjack
GPG Key ID: FDF9864E11C7E79F
2 changed files with 10 additions and 4 deletions

View File

@ -1 +1,4 @@
input.txt
input.txt
node_modules
package-lock.json
package.json

View File

@ -1,6 +1,9 @@
const fs = require('fs');
const path = require('path');
const fight = require('./md5-api.ts').fight;
// const fs = require('fs');
// const path = require('path');
import fs from 'fs';
import path from 'path';
// const fight = require('./md5-api.ts').fight;
import { fight } from './md5-api.ts';
// 从文件的 ./input.txt 中读取输入
// 然后丢给 md5.js