$ npm install asar-require
Enable require to read scripts in asar packages.
require
require('asar-require'); require('/path/to/archive.asar/script');