-1

Is there a way to find out from command line whether a package name was taken?

I am looking for something similar to bower info $name. I don't want to use npm install $name to test it, so please don't send answers like that!

Was marked as duplicate of How to find search/find npm packages

My question is about finding out whether a package name was taken with the usage of a command line tool, not about getting a package name list based on a keyword using a tool with web interface. So these questions are far from being the same.

Community
  • 1
  • 1
inf3rno
  • 24,976
  • 11
  • 115
  • 197

1 Answers1

1

There is a plugin for npm that allows this : https://www.npmjs.com/package/namecheck

install it and then you can use the command

namecheck name1 name2

And it'll check several names at once

G.P.
  • 75
  • 7