/r6data

📊 Data for r6api.js and similar projects

Primary LanguageTypeScriptMIT LicenseMIT

R6Data

📊 Data for r6api.js and similar projects

License Version Latest release NPM weakly downloads Discord guild

GitHub NPM Yarn Releases Changelog

💾 Installation

yarn add r6data

or

npm install r6data

👀 Usage

Table of operators which are going to drop in price:

import { OPERATORS } from 'r6data';

console.table(
  OPERATORS.filter(({ isRecruit }) => !isRecruit)
    .filter(({ nextPriceDropSeasons }) => nextPriceDropSeasons)
    .map(({ name, price, nextPriceDropSeasons }) => ({
      name,
      price: price?.renown,
      priceDrop: nextPriceDropSeasons ?? 0
    }))
);

💌 Acknowledgments

Operator icons from r6operators.marcopixel.eu