https://github.com/wfcd/mod-generator
Generate mod images using warframe-items
https://github.com/wfcd/mod-generator
Last synced: 4 months ago
JSON representation
Generate mod images using warframe-items
- Host: GitHub
- URL: https://github.com/wfcd/mod-generator
- Owner: WFCD
- License: mit
- Created: 2024-04-29T01:45:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-02T12:54:19.000Z (about 1 year ago)
- Last Synced: 2025-04-02T13:38:32.966Z (about 1 year ago)
- Language: TypeScript
- Size: 2.02 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# mod-generator
Assembles [Mod Assets](https://wiki.warframe.com/w/Mod/Assets) into full/collapsed mod images using warframe-items
[](https://github.com/WFCD/banner/blob/master/PROJECTS.md)
[](https://discord.gg/jGZxH9f)
[](https://github.com/semantic-release/semantic-release)
Supported Mod Types:
- The four basic mods (common, uncommon, rare, primed)
- Rivens
## Collapsed
____




## Expanded
____




## Documentation
You can find the documentation [here](https://wfcd.github.io/mod-generator/)
## Installation
```shell
$ npm i -S mod-generator
```
## Example usage
```javascript
import { find } from 'warframe-items/utilities';
const mod = find.findItem('/Lotus/Powersuits/Dragon/DragonBreathAugmentCard');
const expanded = generate(mod, 3); // You can set rank to whatever rank you want by default is 0
const collapsed = generateCollapsed(mod, 3);
writeFileSync('directory/expanded.png', expanded);
writeFileSync('directory/collapsed.png', collpased);
```