/mod-generator

Generate mod images using warframe-items

Primary LanguageTypeScriptMIT LicenseMIT

mod-generator

Generate mod images using warframe-items

Afterburn Steel Charge Vitality

Supported by the Warframe Community Developers Coverage Status Discord semantic-release: angular

Documentation

You can find the documentation here

Installation

$ npm i -S mod-generator

Example usage

import { ProfileParser } from 'profile-parser';
import { find } from 'warframe-items/utilities';

const mod = find.findItem('/Lotus/Powersuits/Dragon/DragonBreathAugmentCard');
const image = generateBasicMod(mod, 3); // You can set rank to whatever rank you want by defualt it's 0

writeFileSync('directory/image.png', image);