Skip to content

Installation

Install emusks using your preferred package manager:

sh
npm install emusks
sh
yarn add emusks
sh
pnpm add emusks
sh
bun add emusks

You'll now be able to import emusks in your project:

ts
import Emusks from "emusks";

const client = new Emusks();
await client.login("your_auth_token");

const user = await client.users.getByUsername("elonmusk");
console.log(user.name);

Next Steps

Now that you have emusks installed, head over to Authentication to learn how to log in and start making requests.

not affiliated with X Corp.