Enable "require" scripts in asar archives
Перейти к файлу
Elvis Pranskevichus 60cd8df02a Make asar-require work under Node 2.3+
Since version 2.3 node has switched to the internal implementation of
"stat" [1], so the hooks no longer work.  Fix that.

[1] b14fd1a720 (diff-d1234a869b3d648ebfcdce5a76747d71)
[2] https://bugs.gentoo.org/show_bug.cgi?id=584000
2016-05-25 11:29:07 -04:00
src Make asar-require work under Node 2.3+ 2016-05-25 11:29:07 -04:00
.gitignore Initial coffee setup 2015-03-30 12:49:55 +08:00
.npmignore Add .npmignore 2015-03-30 14:18:18 +08:00
Gruntfile.coffee Initial coffee setup 2015-03-30 12:49:55 +08:00
README.md Update URLs for new GitHub organization 2016-04-04 09:42:43 -07:00
package.json Update URLs for new GitHub organization 2016-04-04 09:42:43 -07:00

README.md

asar-require

Enable require to read scripts in asar pacakges.

Usage

require('asar-require');
require('/path/to/archive.asar/script');