TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Audit NPM packages before installing

1 pointsby tao_oatover 3 years ago

1 comment

tao_oatover 3 years ago
Hi HN! I built this tool to quickly view the true source code of npm packages before installing or updating them. You can&#x27;t always trust what&#x27;s on GitHub: there&#x27;s no guarantee that it matches what was actually published to npm.<p>This was heavily inspired by the Elixir ecosystem&#x27;s tools for the same thing: [Hex Diff][1] and [Hex Preview][2]. With several npm packages having been compromised with malware in the past, I wanted something similarly easy-to-use for the JS world.<p>[1]: <a href="https:&#x2F;&#x2F;diff.hex.pm" rel="nofollow">https:&#x2F;&#x2F;diff.hex.pm</a> [2]: <a href="https:&#x2F;&#x2F;preview.hex.pm" rel="nofollow">https:&#x2F;&#x2F;preview.hex.pm</a>