← Public packages
@kody/x
Look up X users and tweets, search recent posts, and preview guarded posts through saved OAuth.
Files
import { searchRecent } from './client.ts'
import type { XSearchRecentParams } from './client.ts'
/**
* Search recent public posts (GET /tweets/search/recent).
* @example
* import searchRecent from 'kody:@kody/x/search-recent'
* const results = await searchRecent({ query: 'from:X', maxResults: 5 })
*/
export default async function searchRecentEntrypoint(params: XSearchRecentParams) {
return await searchRecent(params)
}