Closed
Description
Specification
This is an old repo which was originally forked. This is the older implementation, which we need to change to support using compositional generators to archive the file trees into a single file, which can be streamed.
Additional context
Directly related to MatrixAI/Polykey#811
Tasks
- Make sure the repo is non-ESM
- Get inspiration from https://github.com/MatrixAI/js-encryptedfs
- Use nested/compositional generators/parsers
- Rely on provided implementation for
fs
to allow usage ofefs
- Add CI
- Expose appropriate types/methods
- The code shouldn't buffer anything - the buffer should be configurable. It should just be chunking stuff up.
- The block size should also be configurable, however the default is 512 bytes per block.