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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@shift-code/cli

v1.0.0

Published

Redeem Gearbox SHiFT codes automatically

Downloads

37

Readme

@shift-code/cli

Automatically redeem Gearbox Shift codes

Example of a terminal executing the shift-code command

Supported Games:

  • Tiny Tina's Wonderlands
  • Borderlands GOTY
  • Borderlands 2
  • Borderlands: The Pre-Sequel
  • Borderlands 3
  • Godfall

Supported Platforms:

  • Steam
  • Epic
  • PSN
  • Xbox
  • Stadia

Install

Download the latest binary release for your platform:

Or, run via NodeJS:

npm install @shift-code/cli --global

Usage

  1. Login to SHiFT: shift-code login
  2. Enter your shift credentials
  3. Redeem available codes: shift-code redeem
  4. Codes will be automatically redeemed. Just let it do it's thing.

Commands

login

shift-code login [--email <email>] [--password <password>]

Login to a SHiFT account. Stores the session in the config location.

If the email is already associated to an account, it will switch that account to the current active account.

logout

shift-code logout

Logout from SHiFT and remove the stored session.

accounts

shift-code accounts

List all saved accounts, show current active account

redeem

shift-code redeem [codes...]

Redeem the given codes or all available codes on the current active account.

cache clear

shift-code cache clear

Remove all codes from the redemption cache for the current active account.

FAQ

  1. What does "You need to launch a Shift-enabled game to continue redeeming" mean?
    • You can only redeem a certain number of SHiFT codes before you'll see this. It means you need to open a SHiFT enabled title and play past the main menu. Once you're loaded in, you can exit the game and continue redeeming.
    • Alternatively, this error will go away after a certain amount of time.