Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zardoz89/filestore-pouchdb
Storage of files over PouchDB
https://github.com/zardoz89/filestore-pouchdb
Last synced: 9 days ago
JSON representation
Storage of files over PouchDB
- Host: GitHub
- URL: https://github.com/zardoz89/filestore-pouchdb
- Owner: Zardoz89
- License: mit
- Created: 2019-12-03T05:44:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T12:25:18.000Z (about 2 years ago)
- Last Synced: 2024-11-08T00:49:27.363Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.59 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple file storage over PouchDb (WIP)
Handles a simple file storage over PouchDB. Mimics some functionality of a
virtual file system like directories and file hierarchy, but avoids to try to
be a full virtual file system.## Objectives
Store files on the browser, with the optional capacity of synchronize with a
remote CouchDb database. The retrieving of the files must be fast and each file
it's identified by his path.## Features
* FileStorage it's implemented over a PouchDb and can return the underlying
database. So could be configured to synchronize/reply to another databases.
* Return a File by path
* Creation and deletion of directories. Directory extends of File without any
content
* Equivalent functionality of mkDir -p and rm -r
* Listing all the files, showing the whole tree hierarchy.
* Listing all the files of a directory, showing the whole tree hierarchy
* Methods to delete files, directories and even clean all the whole storage.## TODOs
* Brother method of getFile that only returns if the file exists
* Moar TESTS!