← Public packages
@kody/x
Look up X users and tweets, search recent posts, and preview guarded posts through saved OAuth.
Files
import { 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)
}