@kody/x
src/search-recent.ts
12 lines · 430 B · TypeScriptimport { 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)
}