Skip to content

Ivshti/asar-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asar-reader

Quickly read ASAR files, asynchronously

Usage

var instance = new asarReader(pathToAsar, options)

Options

  • keepOpenFor - keep the file descriptor open for ms after last used; default is 500 ms

instance.listFiles(function(err, files) { })

files is an object where the key is the path and the value is the object you have to pass to instance.readFile

instance.readFile(fileObj, function(err, readStream) { })

instance.getHeader(function(err, header) { })

Get raw ASAR header

About

Quickly read ASAR files, asynchronously

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published