TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Audit NPM packages before installing

1 点作者 tao_oat超过 3 年前

1 comment

tao_oat超过 3 年前
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>