2

I'm looking for a JavaScript package manager that doesn't require node.js to be installed and preferably just works with standard command line tools. Is something like this available?

2
  • 3
    Most JavaScript stuff outside of the browser uses Node nowadays. Is there any particular reason you're avoiding it? Commented Nov 24, 2012 at 16:03
  • 1
    NPM is made for Node packages. You wouldn't need it if you weren't using Node (remembering that you sometimes just want the command-line tools, you still need Node installed).. You could use gems, but you'd have to install Ruby. What is it you want to use this package manager for? Also, for what OS? Commented Nov 24, 2012 at 16:05

1 Answer 1

1

How about CommonJS Package Manager?

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.

By default it uses Rhino (since the JVM is installed almost everywhere, quoting their comment).

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.