Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

Use file storage instead of ram? #5

@joehand

Description

@joehand

I found this little hack while working on the public archives, page. You can pass null storage and it'll use the storage from the metadata and content feeds:

var archive = hyperdrive(null, {metadata: metadata, content: content})

Not sure if memory usage has been high on the registry, but we could change this line. (Or if there are other tradeoffs from this approach).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions