When I wanted to publish a tool for people to check if the published version of an npm package would work properly before publishing it, I wanted to use a name like “checkpack”, but I discovered that people who are publishing their first dummy test package use very similar names - checkpack, checkpackage, testpack, packtest, packagetest, testpackage, all of these and more are squatted.
However “npm-testpack” seemed to be available - no search results on npmjs.com! So I developed my package using that name, with all unit & integration tests & documentation using that name.
But of course when I try to publish, what happens?
Package name too similar to existing packages. What? Come on! It turned out I had overlooked the humble “npm-test-pack”.
So I would just like to request a feature to let us find out in advance if a name is available. Someone made a package called npm-name for doing this, but it doesn’t work - it told me
npm-testpack was available.