@pouchlab/liteq
Version:
liteq is a key value document single database engine for js
79 lines (69 loc) • 2.08 kB
Markdown

pouchlite is a document and files storage engine
any one creating offline first apps,need cache or realtime app
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
* lite-node - backend storage engine
* lite-browser -browser storage engine
* liteq -small mighty single db engine
* lite-server - self-hosted sync server
provided as `@pouchlab/lite-node`
```bash
npm i --save @pouchlab/lite-node
```
```js
import {Pouchlite} from "@pouchlab/lite-node";
const lite = new Pouchlite({path:"./"})
//provide valid path to file or leave blank for default
console.log(lite)
```
[](https://pouchlite.top)
provided as `@pouchlab/lite-browser`
```bash
npm i --save @pouchlab/lite-browser
```
```js
import {Pouchlite} from "@pouchlab/lite-browser";
```
```js
const usersdb = Pouchlite("users")
console.log(usersdb)
```
[](https://pouchlite.top)
provided as `@pouchlab/liteq`
```bash
npm i --save @pouchlab/liteq
```
```js
import {Liteq} from "@pouchlab/liteq";
```
```js
const usersdb = new Liteq({dpath:"/tmp",dbname:"users"}) //pass valid folder path and db name
console.log(usersdb)
```
[](https://pouchlite.top)
coming soon..
made with love by [ajm](https://x.com/ajm_ke) founder pouchlabs
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