我正在寻找一个 JavaScript 包管理器,它不需要安装 Node.js,并且最好只与标准命令行工具一起使用。有类似的东西吗?
最佳答案
CPM (CommonJS Package Manager) is designed for simple, straightforward installation of CommonJS packages into a target location/package. This is specifically designed to make it easy to install packages for use in the browser or any server side JS environment (like Node). CPM is based on the CommonJS Mappings specification, and will install all dependencies listed in the dependencies or mappings hash.
默认情况下,它使用 Rhino(因为 JVM 几乎安装在任何地方,引用他们的评论)。
关于不需要 node.js 的 javascript 包管理器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13542882/