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

steamcommunity-impit

v4.0.2

Published

Provides an interface for logging into and interacting with the Steam Community website

Readme

Steam Community for Node.js

Fork of DoctorMcKay/node-steamcommunity — all credit to Alex Corn (DoctorMcKay) for the original library.

Forked repo: jsupa/node-steamcommunity

This fork replaces the deprecated request HTTP library with impit and adds TypeScript definitions, SOCKS proxy support, and Node.js 18+ compatibility.

npm version npm downloads license

This module provides an easy interface for the Steam Community website. This module can be used to simply login to steamcommunity.com for use with other libraries, or to interact with steamcommunity.com.

Have a question about the module or coding in general? Do not create a GitHub issue. GitHub issues are for feature requests and bug reports. Instead, post in the dedicated forum. Such issues may be ignored!

🔄 v4.0.0 — Migration to impit

The deprecated request package has been replaced with impit, a modern HTTP library with native fetch API, browser TLS fingerprint emulation, and built-in SOCKS/HTTP proxy support.

What Changed

| v3.50.x (old) | v3.51.0 (new) | |---|---| | request package | impit + tough-cookie | | Request.jar(), Request.cookie() | tough-cookie CookieJar / Cookie.parse() | | Request.defaults({...}) | new Impit({...}) constructor | | options.request (inject custom instance) | options.impit (inject custom Impit instance) | | options.proxy via request agent | options.proxy → impit proxyUrl (native HTTP/HTTPS/SOCKS4/SOCKS5) | | Node.js >=4.0.0 | Node.js >=18.0.0 (impit requires native fetch) | | No TypeScript types | Full .d.ts type definitions included |

Breaking Changes

1. steamCommunity.request is gone

The old request instance was exposed as steamCommunity.request. It no longer exists.

// ❌ OLD (broken in v3.51.0)
steamCommunity.request.get(url, (err, response, body) => { ... });
steamCommunity.request.post({url, form: {...}}, callback);

// ✅ NEW — use httpRequest/httpRequestGet/httpRequestPost (powered by impit)
steamCommunity.httpRequestGet({uri: url}, (err, response, body) => { ... });
steamCommunity.httpRequestPost({uri: url, form: {...}}, callback);

2. Injecting a custom HTTP client

// ❌ OLD
const community = new SteamCommunity({request: myCustomRequestInstance});

// ✅ NEW
const { Impit } = require('impit');
const myImpit = new Impit({browser: 'firefox', http3: true});
const community = new SteamCommunity({impit: myImpit});

3. Proxy configuration

// ❌ OLD — proxy configured on the request instance
const request = require('request').defaults({proxy: 'http://...'});
const community = new SteamCommunity({request});

// ✅ NEW — proxy is a direct constructor option (impit natively handles it)
const community = new SteamCommunity({proxy: 'http://user:pass@host:3128'});
// or SOCKS5:
const community = new SteamCommunity({proxy: 'socks5://127.0.0.1:9050'});

4. Node.js version

impit requires Node.js 18+ (native fetch support).

New Features

  • TypeScript typesindex.d.ts included. Auto-discovered via "types" in package.json. Covers all 80+ methods, 9 enums, 7 classes, and 11 typed events.
  • SOCKS proxy support — impit natively supports SOCKS4/SOCKS5 proxies via options.proxy.
  • Browser TLS fingerprinting — inject a custom Impit instance with {browser: 'chrome'} or {browser: 'firefox'} for TLS fingerprint emulation.
  • encoding: null — still returns a raw Buffer for binary data (images), bridged via response.arrayBuffer().
  • formData multipart uploads — avatar uploads and file uploads work via a built-in multipart body builder.

Publish

npm run publish:dry      # Preview what will be published
npm run publish:public   # Publish to npm

Documentation

Documentation is available on the GitHub wiki.

Support

Report bugs on the issue tracker or ask questions on the dedicated forum.