npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

reborn-token

v1.0.1

Published

PDF·워드·엑셀을 깔끔한 마크다운으로 바꿔 클로드에 넣습니다. PDF 를 그대로 넣으면 페이지마다 텍스트와 이미지가 둘 다 청구되는데(Anthropic 공식 문서), 마크다운에는 페이지 이미지가 없습니다. 제목과 표는 그대로 유지. 전부 로컬, API 키 없음.

Readme

토큰 절반 (reborn-token)

PDF·워드·엑셀·PPT 를 제목과 표를 살린 마크다운으로 바꿔 클로드에 넣습니다. 전부 로컬. API 키 없음. 네트워크 안 씁니다. MIT.

npx reborn-token

그다음 클로드에게 "이 PDF 마크다운으로 바꿔줘" 라고 말하면 됩니다. 터미널에서 바로 쓰려면 npx reborn-token md contract.pdf.


왜 필요한가 — 우리 주장이 아니라 공식 문서입니다

Anthropic 문서(build-with-claude/pdf-support, 2026-08-24 확인)에서 그대로 옮깁니다:

The system converts each page of the document into an image. The text from each page is extracted and provided alongside each page's image.

Text token costs: Each page typically uses 1,500–3,000 tokens per page Image token costs: Because each page is converted into an image, the same image-based cost calculations are applied.

즉 PDF 를 그대로 넣으면 한 페이지에 텍스트와 이미지가 둘 다 실립니다.

| 20쪽 계약서 | | |---|---| | 텍스트 | 20 × 1,500~3,000 = 30,000~60,000 토큰 | | 이미지 | 20장 (페이지마다 1장) — 그 위에 더해집니다 |

질문을 하나도 하기 전에 들어가는 양입니다. 마크다운에는 페이지도 이미지도 없습니다. 이미지 몫이 통째로 사라집니다.

무엇을 바꾸나

| 형식 | 어떻게 | |---|---| | pdf | 좌표로 줄을 다시 세워 제목·문단·표를 살립니다 | | docx | 문단 스타일(제목)과 표를 그대로 | | xlsx | 시트마다 마크다운 표 하나 | | pptx | 슬라이드별 제목 + 글머리 |

npx reborn-token md contract.pdf proposal.docx pricing.xlsx
npx reborn-token md contract.pdf -o ./out

찍어 주는 것:

✓ contract.pdf → contract.md
  변환 전  20쪽 × 텍스트 1,500~3,000토큰  =  30,000~60,000
           + 페이지 이미지 20장 (페이지마다 1장)  ← 여기가 한 번 더 붙는다
  변환 후  텍스트 약 118토큰 (글자 436자 · 추정)
           + 페이지 이미지 0

무엇이 살아남나

| 살아남는 것 | 버리는 것 | |---|---| | 제목 계층 (# ##) | 페이지 이미지 | | 문단·줄바꿈 | 그림·차트·도형 | | (마크다운 표로) | 글꼴·색·여백 |

이 도구가 하지 않는

정직하게 적습니다.

  • 스캔본은 못 바꿉니다. 글자가 없는 PDF 는 가져올 텍스트가 없습니다. 그 자리에서 멈추고 이유를 알려 주며, 빈 파일을 만들어 놓고 "변환했다"고 하지 않습니다. 그런 문서는 원본을 그대로 클로드에 넣는 편이 낫습니다.
  • 차트·도형의 뜻은 옮기지 못합니다. 글자만 가져옵니다.
  • 요금을 계산해 주지 않습니다. 토큰과 요금은 다른 이야기입니다.
  • 변환 후 토큰 수는 추정입니다. 정확한 값은 Anthropic 의 token counting 으로만 나오고, 그건 API 키가 필요합니다. 없는 정확도를 광고하지 않습니다.
  • 아무것도 서버로 보내지 않습니다. 네트워크를 쓰지 않습니다.

설치 확인

npx reborn-token --check

설치기는 파일을 복사하고 끝내지 않고 변환기를 실제로 불러 확인한 뒤에 완료라고 말합니다. 파일만 있고 안 도는 것은 깔린 게 아닙니다.

요구사항

  • Node.js 18 이상
  • PDF 변환에 pdfjs-dist(Apache-2.0)를 씁니다 — npx 가 알아서 받습니다. 워드·엑셀·PPT 는 의존성 0(Node 내장 zlib 로 zip 을 직접 읽습니다).

지우려면

rm -rf ~/.claude/skills/pdf-to-md

REBORN LABS · MIT · https://rebornlabs.kr/token?utm_source=installer&utm_medium=cli&utm_campaign=token