Feature #1066

Package Manager for JavaScript Libraries

Added by Christoph Hoffmann 4 months ago. Updated about 1 month ago.

In Progress
Target version:
Start date:


Currently all JavaScript Packages and libraries are added and updated manually.
As there are viable tools to automate this available for Python as well, we should attempt to document the current state and implement an automated solution.

Possible Candidates: CalmJS / NPM

Pro: we could omit most JavaScript from the current dist, and install from source
Caveat: we have some manually edited libraries we need to maintain in their current state


#1 Updated by Christoph Hoffmann 3 months ago

basic implementation working , difficulties d/t many file/path changes. needs some more testing

#2 Updated by Alexander Watzinger about 1 month ago

I tested it online and run into several issues:

I had to install calmjs:

    $ pip3 install calmjs

After that I had to call it with the full path, e.g. in my case:

    $ /home/alex/.local/bin/calmjs npm --install openatlas

Also all tables, tabs, ... didn't show so maybe it didn't work at all because with the above command I got:

npm does not support Node.js v10.15.2
You should probably upgrade to a newer version of node as we
can't make any promises that npm will work with this version.
Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
You can find the latest version at

#3 Updated by Alexander Watzinger about 1 month ago

  • Target version changed from 4.0.0 to 4.1.0

Also available in: Atom PDF