← 返回命令列表

Linux command

npm-name 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Check if name available

npm-name [package-name]

Check multiple names

npm-name [name1] [name2] [name3]

Check scoped name

npm-name [@scope/name]

说明

npm-name checks if package names are available on the npm registry. It queries the npm registry API and reports whether each name is free to use or already taken. Supports scoped packages (@scope/name). Useful before publishing a new package to avoid name conflicts.

参数

--help
Display help information.

FAQ

What is the npm-name command used for?

npm-name checks if package names are available on the npm registry. It queries the npm registry API and reports whether each name is free to use or already taken. Supports scoped packages (@scope/name). Useful before publishing a new package to avoid name conflicts.

How do I run a basic npm-name example?

Run `npm-name [package-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --help do in npm-name?

Display help information.