neon0404/torn-client

feat: create more usage examples

Open

#1 创建于 2025年7月21日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)TypeScript (0 fork)auto 404
enhancementgood first issuehelp wanted

仓库指标

Star
 (5 star)
PR 合并指标
 (PR 指标待抓取)

描述

Currently, the project lacks usage examples

This issue proposes creating a new /examples directory in the repository to host a collection of standalone examples Anything can be an example - from a set of simple scripts to small, self-contained web apps

What's Needed?

  • Create a new top-level /examples directory
  • Each example should be a fully independent project with its own package.json
  • Examples should be designed to run in cloud environments like Stackblitz

Ideas for First Examples

Here are some ideas for great first examples:

  • User attacks analyzer - A simple tool that uses pagination logic to fetch all attacks and displays basic statistics
  • Who ate my chocolate? - A tool that accepts a date range, fetches armory usage from faction.news(), and groups the data by item

Contributing guide

贡献者指南