Initial commit

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
dinlo
2026-05-31 18:45:31 +08:00
commit e0a986eb30
1018 changed files with 615974 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
'use strict';
const assert = require('assert');
const info = require('../lib/index.js')();
console.log(info);
assert(typeof info === 'object' && info !== null);
assert(typeof info.arch === 'string' && info.arch);
assert(typeof info.flags === 'object' && info.flags !== null);
if (process.platform !== 'darwin' && process.arch !== 'arm64')
assert(Object.keys(info).length > 2); // Assume we are on a known platform