Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add logo #113

Merged
merged 2 commits into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
# tsr
<div align="center">
<img width="180" src="./media/icon.svg" alt="TypeScript Remove (tsr) logo" />
</div>
<div align="center">
<a href="https://badge.fury.io/js/tsr"><img alt="npm version" src="https://badge.fury.io/js/tsr.svg" /></a>
<a href="https://packagephobia.com/result?p=tsr"><img alt="install size" src="https://packagephobia.com/badge?p=tsr" /></a>
<a href="https://github.com/line/tsr/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/line/tsr/actions/workflows/ci.yml/badge.svg?branch=main" /></a>
</div>

[![npm version](https://badge.fury.io/js/tsr.svg)](https://badge.fury.io/js/tsr)
[![install size](https://packagephobia.com/badge?p=tsr)](https://packagephobia.com/result?p=tsr)
[![CI](https://github.com/line/tsr/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/line/tsr/actions/workflows/ci.yml)
# tsr

TypeScript Remove (tsr) is a utility that removes unused code from TypeScript projects – It's like tree shaking, but for source files

[Migrating from v0.x (ts-remove-unused)](./doc/migration.md)

## Features

<div align="center">
<img width="600" src="./media/cover.gif" />
</div>

### 🕵️ Find unused code

tsr statically analyses your TypeScript project like how tree-shaking is implemented in bundlers. Run tsr to get a list of unused exports and files (modules) in your TypeScript project. Use tsr in your CI pipeline to detect unused code from being added.
Expand Down
96 changes: 96 additions & 0 deletions media/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading