@pouchlab/liteq
v1.0.0
Published
liteq is a key value document single database engine for js
Downloads
3
Maintainers
Readme
pouchlite
Next Gen Blazingly fast js storage engine
pouchlite is a document and files storage engine
who can use
any one creating offline first apps,need cache or realtime app
Features
we provide both browser,node and sync server
- offline first - easy to implement offline first capabilities
- fast -blazing fast writes and reads
- built -in orm -interact with your data like boss 🔥
- reduced file size - small db size from ground up
- encryption - securely store documents
- sync - sync data accross pouchlite instances
- ttl - expire documents
- collections -store documents in collections
packages included
- lite-node - backend storage engine
- lite-browser -browser storage engine
- liteq -small mighty single db engine
- lite-server - self-hosted sync server
install
lite-node
provided as @pouchlab/lite-node
npm i --save @pouchlab/lite-node
import {Pouchlite} from "@pouchlab/lite-node";
const lite = new Pouchlite({path:"./"})
//provide valid path to file or leave blank for default
console.log(lite)
lite-browser
provided as @pouchlab/lite-browser
npm i --save @pouchlab/lite-browser
import {Pouchlite} from "@pouchlab/lite-browser";
const usersdb = new Pouchlite("users")
console.log(usersdb)
liteq
provided as @pouchlab/liteq
npm i --save @pouchlab/liteq
import {Liteq} from "@pouchlab/liteq";
const usersdb = liteq({dpath:"/tmp",dbname:"users"}) //pass valid folder path and db name
console.log(usersdb)
lite-server
this sync server is self-hosted check lite-server
author
made with love by ajm founder pouchlabs
support
support the author if you realy value my work. you can give star or by giving financial support that would realy motivate me to keep creating awesome stuff for fellow devs