
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
nitter-scraper
Advanced tools
A Twitter scraper that uses Nitter to fetch tweets without authentication
A TypeScript package for scraping tweets from Nitter without authentication.
# Install as a library
npm install nitter-scraper
# Or install globally to use as CLI
npm install -g nitter-scraper
import { fetchTweets } from "nitter-scraper";
async function main() {
const tweets = await fetchTweets("username", 1); // username without @, max pages (optional)
console.log(`Found ${tweets.length} tweets`);
}
main().catch(console.error);
# Run the scraper using Bun
bun run cli
# Or if installed globally
nitter-scraper
fetchTweets(username: string, sinceDate?: Date, maxPages?: number, includeReplies?: boolean): Promise<Tweet[]>
Parameters:
username
: Twitter username to scrape (without @)sinceDate
: Optional date to start fetching tweets from (default: null)maxPages
: Maximum number of pages to fetch (default: 1)includeReplies
: Whether to include replies (default: false)interface Tweet {
id: string;
text: string;
username: string;
created_at: string | null;
timestamp: number | null;
replies: number;
retweets: number;
likes: number;
engagement_score: number;
type: "tweet" | "retweet" | "reply";
reference?: {
id: string;
username: string;
};
}
MIT
FAQs
A Twitter scraper that uses Nitter to fetch tweets without authentication
The npm package nitter-scraper receives a total of 153 weekly downloads. As such, nitter-scraper popularity was classified as not popular.
We found that nitter-scraper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.