[node.js] How to unpack an .asar file?

I have packed my Electron application using the following command:

asar pack app app.asar

Now, I need to unpack it and get the whole code back. Is there any way to do so?

This question is related to node.js electron asar

The answer is


It is possible to upack without node installed using the following 7-Zip plugin:
http://www.tc4shell.com/en/7zip/asar/

Thanks @MayaPosch for mentioning that in this comment.


https://www.electronjs.org/apps/asarui

UI for Asar, Extract All, or drag extract file/directory