# Deprank - PageRank를 이용하여 가장 중요한 코드 찾기

> Clean Markdown view of GeekNews topic #6957. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6957](https://news.hada.io/topic?id=6957)
- GeekNews Markdown: [https://news.hada.io/topic/6957.md](https://news.hada.io/topic/6957.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-07-12T10:12:01+09:00
- Updated: 2022-07-12T10:12:01+09:00
- Original source: [github.com/codemix](https://github.com/codemix/deprank)
- Points: 17
- Comments: 0

## Topic Body

- 구글의 PageRank 알고리듬을 사용하여 JavaScript/TypeScript 코드에서 가장 중요한 파일을 찾아내는 오픈소스   
- dependency-cruiser 를 이용하여 소스 파일의 디펜던시 그래프를 그리고 중요도에 따라 랭크를 매김   
- 기존의 대규모 Javascript 코드를 Typescript로 변환하거나 할 때 유용  
→ PageRank 순으로 변환을 진행하면, 타입 정밀도를 높여서 any 사용과 재작업량을 줄여줌

## Comments



_No public comments on this page._
