Read ASAR archive files from Clojure
See: https://github.com/electron/asar
The API is very simple. First you load-asar
from a file. This returns a handle containing a RandomAccessFile
and the parsed JSON header.
To access files, call read-file
, copy
and file-info
functions with the previously loaded ASAR handle and the path
within the archive.
The library contains a Ring handler to serve files from an ASAR archive.
Check out serve.sh
script to try it locally.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close