https://github.com/electron/asar-require
Enable "require" scripts in asar archives
https://github.com/electron/asar-require
Last synced: 5 months ago
JSON representation
Enable "require" scripts in asar archives
- Host: GitHub
- URL: https://github.com/electron/asar-require
- Owner: electron
- Archived: true
- Created: 2015-03-30T06:10:34.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-08T22:39:17.000Z (almost 9 years ago)
- Last Synced: 2024-10-30T00:00:38.945Z (7 months ago)
- Language: CoffeeScript
- Size: 8.79 KB
- Stars: 18
- Watchers: 5
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# asar-require
Enable `require` to read scripts in [asar] packages.
## Usage
```js
require('asar-require');
require('/path/to/archive.asar/script');
```[asar]: https://github.com/electron/asar