Parses the HTML content from news.ycombinator.com (Hacker News) and provides structured data for different types of stories (top, new, ask, show, jobs).
Fetch stories from Hacker News. Parameters: type (string) - Type of stories to fetch ('top', 'new', 'ask', 'show', 'jobs', default: 'top'); limit (number) - Number of stories to return (1-30, default: 10).
No reviews yet. Be the first to review!
Sign in to join the conversation
Start the server with node to access it via any client or IDE.
node path/to/downloaded/file.mjs