@kody/x
src/unfollow-user.ts
12 lines · 434 B · TypeScriptimport { unfollowUser } from './client.ts'
import type { XUserActionParams } from './client.ts'
/**
* Unfollow or dry-run unfollowing an X user. Requires confirm: true.
* @example
* import unfollowUser from 'kody:@kody/x/unfollow-user'
* const preview = await unfollowUser({ username: 'X', dryRun: true })
*/
export default async function unfollowUserEntrypoint(params: XUserActionParams) {
return await unfollowUser(params)
}