Skip to main content

npm Modules

A-Parser uses NodeJS and supports any modules from the Node Package Manager catalog: search results example

Installing Modules

A-Parser uses the files/node_modules directory for all additional modules, so installation should be performed from the files/ directory:


For Windows, we recommend using the Git Bash terminal as the built-in Windows cmd.exe and PowerShell have many compatibility issues

export PATH=$PWD/dist/nodejs/:$PATH
cd files/
npm install md5


export PATH=$PWD/dist/nodejs/bin/:$PATH
cd files/
npm install md5


docker run --rm -v $(PWD)/aparser:/app aparser/runtime sh -c 'export PATH=$PWD/dist/nodejs/bin/:$PATH && cd files && npm install re2'

Please note that A-Parser includes NodeJS and the npm package manager in its distribution, additional installation is not required

Also, A-Parser includes the following pre-installed modules in the dist/nodejs/node_modules distribution:

  • puppeteer
  • puppeteer-extra
  • lodash
  • re2
  • async-redis
  • async-mutex
  • typescript