Hacker News new | ask | show | jobs
by youre-wrong3 31 days ago
NPM doesn’t make it easy to do cooldowns because their apis prevent it.
1 comments

What do you mean? it's a local config in your .npmrc (min-release-age=days or minimum-release-age=minutes for pnpm compatibility, although pnpm has 1 day by default if you have the latest...)
Because the npm api doesn’t list package ages individually. This is why ncu cooldown fails. The workarounds suck. NPM should fix their listings so this becomes super easy to solve.