vendor: amis 6.13.0 base (fork root)

This commit is contained in:
2026-06-16 22:14:57 +08:00
commit 8c8e4247a9
3840 changed files with 2467374 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/**
* 创建个大的csv文件
*/
import process from 'node:process';
const columns = 10;
const rows = 1000000;
// 写入 csv header
const header: string[] = [];
for (let i = 0; i < columns; i++) {
header.push(`col${i}`);
}
process.stdout.write(header.join(',') + '\n');
for (let i = 0; i < rows; i++) {
const row: string[] = [];
for (let j = 0; j < columns; j++) {
row.push(`r${i} c${j}`);
}
process.stdout.write(row.join(',') + '\n');
}