1.1.1 • Published 11 months ago
@pouchlab/lite-node v1.1.1

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 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 = Pouchlite("users")
console.log(usersdb)liteq
provided as @pouchlab/liteq
npm i --save @pouchlab/liteq import {Liteq} from "@pouchlab/liteq";const usersdb = new Liteq({dpath:"/tmp",dbname:"users"}) //pass valid folder path and db name
console.log(usersdb)lite-server
coming soon... self hosted server that syncs
author
antony m @ajm_ke founder and core maintainer 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 maintain pouchlite and to keep creating awesome stuff for fellow devs.