Install from NPM by typing the following line and it might just work (be the first one to try).
npm install --global @turan/alfred-rem-calculator
rem XX
where XX is the number in pixels you want to convert to REM.
Base is 16 by default.
rembase XX
where XX is the new base in pixels.