2025-05-01 03:59:37 +08:00

8 lines
239 B
TypeScript

// import { XhsClient } from '../src/index.js';
import { XhsClient } from '../dist/app';
import { cookie } from './common.ts';
const client = new XhsClient({ cookie } as any);
client.getSelfInfoV2().then((res) => {
console.log(res);
});