npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-xclient

v0.1.0

Published

n8n node to scrape tweets from Twitter/X profiles

Readme

n8n Twitter Scraper Node

This n8n node provides the ability to scrape tweets from Twitter/X profiles without using the official API.

Features

  • Scrape tweets from multiple Twitter profiles
  • Control the number of tweets to fetch per profile
  • Include or exclude retweets and replies
  • Save results to a file or return them directly

Installation

  1. Clone this repository
  2. Navigate to the n8n-nodes-Xclient directory
  3. Run npm install to install dependencies
  4. Run npm run build to compile the TypeScript code
  5. Install the node in your n8n installation:
    npm install -g path/to/n8n-nodes-Xclient

Configuration

You'll need to provide Twitter credentials to use this node:

  • Username and password for Twitter account
  • Email address (optional, for certain authentication methods)
  • Two-factor authentication secret (if enabled)
  • API credentials (optional, for V2 functionality)

Importing Profiles

You can import Twitter profiles in three ways:

  1. Enter Manually: Provide a comma-separated list of Twitter handles
  2. From JSON File: Specify a path to a JSON file containing an array of Twitter handles
  3. From Input Item: Use a field from the input data that contains Twitter handles

Output

The node will output a JSON object containing:

  • Success status
  • List of scraped profiles
  • Total number of tweets fetched
  • Tweet data for each profile
  • Output file path (if saving to file was enabled)

Troubleshooting

Parent Project Build Issues

If you're developing with this node and encounter build issues in the parent project related to ES module imports, you can use the included fix script:

npm run fix-parent

This script adds .js extensions to relative imports in the parent project's _module.ts file, which is required when using ES modules with the NodeNext module resolution strategy.

License

MIT