@pouchlab/lite-node
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

logo

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)

docs

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)

docs

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)

docs

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.

ko-fi

Package Sidebar

Install

npm i @pouchlab/lite-node

Weekly Downloads

19

Version

1.1.0

License

MIT

Unpacked Size

92.6 kB

Total Files

16

Last publish

Collaborators

  • pouchlab