1NPM-NAME(1) User Commands NPM-NAME(1)
2
3
4
6 npm-name - check whether a package or organization name is available on
7 npm
8
10 npm-name name [...]
11
13 --similar
14 Find similar package names too
15
17 $ npm-name chalk
18 ✖ chalk is unavailable
19
20 $ npm-name abc123
21 ⚠ abc123 is squatted
22
23 $ npm-name hello --similar
24 ⚠ hello is squatted
25 Similar names:
26 ✔ hullo is available
27 ✔ how-do-you-do is available
28
29 $ npm-name unicorn-cake
30 ✔ unicorn-cake is available
31
32 $ npm-name @ava
33 ✖ @ava is unavailable
34
35 $ npm-name @abc123
36 ✔ @abc123 is available
37
38 $ npm-name @sindresorhus/is unicorn-cake
39 ✖ @sindresorhus/is is unavailable
40 ✔ unicorn-cake is available
41
43 Exits with code 0 when all names are available or 2 when any names are
44 taken.
45
46
47
48 April 2021 NPM-NAME(1)