{"repo":"iyobo/pouchorm","free":true,"listed":false,"github":"https://github.com/iyobo/pouchorm","clone":"git clone https://github.com/iyobo/pouchorm.git","description":"The definitive ORM for working with PouchDB. Native support for Typescript.","language":"TypeScript","stars":49,"topics":["pouchdb","database","typescript","orm","class-validator"],"license":"MIT","category":"databases-storage","readme_excerpt":"PouchORM The definitive ORM for working with PouchDB. The Pouch/Couch database ecosystem is a great choice for client-side products that need the complex (and seemingly oxymoronic) sibling-features of Offline-First and Realtime collaboration. But the base pouchDB interface is rather bare and oft-times painful to work with. That's where PouchORM comes in. PouchORM does a lot of the heavy lifting for you and makes it easy to get going with PouchDB so you can focus on your data... not the database. Highlights - Typescript is a first class citizen. - Will work with raw javascript, but you'll be missing out on the cool Typescript dev perks. - Introduces the concept of Collections to pouchdb - Multiple collections in a single Database - Multiple collections in multiple Databases - Supports web, electron, react-native, and anything else pouchdb supports. - Supports optional class validation To install npm i pouchorm or if you prefer yarn: yarn add pouchorm When using the optional class validation, also install class-validator as a dependency of your project using npm or yarn . Changelog - v2.0.2 - Added optional ID generics i.e PouchCollection , IModel , and PouchModel - v2.0.0 - feat: changed meta name $updatedBy to simply $by to conserve space. - v1.6.0 - feat: Added simplified audit trace, specified by PouchORM.setUserId(...) . - v1.5.0 - feat: Added ORM support for managing syncing between multiple databases - v1.3 - feat: Added Delta sync support How to Use Consider this defini","default_branch":null,"files":null,"tree":[],"storefront":"/r/iyobo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iyobo/pouchorm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}