首页 Node.js Yarn Webpack Rollup Parcel

npm-prefix

显示(目录)前缀

概要

npm prefix [-g]

详情

打印本地目录前缀。如果没有 -g 参数,它是 package.json 文件最近的父目录。

如果带有 -g 参数,它就是全局目录前缀。更多细节可参考 npm-config

请参阅

Last modified December 04, 2018           Found a typo? Send a pull request!

快速入门

私有模块

故障排除

npm 用法

命令行

配置 npm

npm 服务

查看单页文档