logoalt Hacker News

hanspageltoday at 5:07 PM2 repliesview on HN

You can’t unpublish a npm package with more than 100 downloads I think.


Replies

Normal_gaussiantoday at 5:10 PM

The policy is https://docs.npmjs.com/policies/unpublish

    Packages published less than 72 hours ago
    
    For newly created packages, as long as no other packages in the npm Public Registry depend on your package, you can unpublish anytime within the first 72 hours after publishing.
There are 231+ packages that depend on this one, and I imagine they mostly use permissive enough version ranges that this was included.
firlooptoday at 5:28 PM

Looks like Anthropic called in a favor and it's removed now.

show 2 replies