@shift-code/get
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@shift-code/get

Get active Gearbox SHiFT codes

Install

npm install @shift-code/get

Usage

getShiftCodes(): AsyncGenerator<ShiftCode>

Create an AsyncGenerator of active SHiFT codes.

import {getShiftCodes} from '@shift-code/get';

for await (const shift of getShiftCodes()) {
  console.log(shift.code);
}

Source Attribution

Readme

Keywords

none

Package Sidebar

Install

npm i @shift-code/get

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

4.61 kB

Total Files

13

Last publish

Collaborators

  • trs