This is an unofficial API for Instagram's new Threads app.
Consider it unstable as it is reverse-engineered from Threads' Web version.
const client = new Threads();
client.user(userId).then((user) => console.log(user));
client.threads(userId).then((threads) => console.log(threads));
Check src/types.ts
for User
and Threads
types.