Skip to content

Commit d6a2433

Browse files
authored
Merge pull request #113 from line/feat/logo
chore: add logo
2 parents c709443 + 83c0137 commit d6a2433

File tree

2 files changed

+105
-8
lines changed

2 files changed

+105
-8
lines changed

README.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
# tsr
1+
<div align="center">
2+
<img width="180" src="./media/icon.svg" alt="TypeScript Remove (tsr) logo" />
3+
</div>
4+
<div align="center">
5+
<a href="https://badge.fury.io/js/tsr"><img alt="npm version" src="https://badge.fury.io/js/tsr.svg" /></a>
6+
<a href="https://packagephobia.com/result?p=tsr"><img alt="install size" src="https://packagephobia.com/badge?p=tsr" /></a>
7+
<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>
8+
</div>
29

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

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

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

1116
## Features
1217

13-
<div align="center">
14-
<img width="600" src="./media/cover.gif" />
15-
</div>
16-
1718
### 🕵️ Find unused code
1819

1920
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.

media/icon.svg

+96
Loading

0 commit comments

Comments
 (0)