pgcouch and lake to ESM+TS
I recently converted the @shimaore/pgcouch and @shimaore/lake projects to TypeScript.
@shimaore/pgcouch
implements CouchDB document revision semantics over PostgreSQL's JSON storage. The module provides an easy path to using PostgreSQL as a NoSQL database; JSON documents are stored and retrieved primarily using an _id
field. MongoDB-style query({ pseudo: 'shimaore' })
and JSONPath query('$.year > 1989')
are supported.
@shimaore/lake
provides functional async iterators and iterables aka streams, enabling easy transformations — it wraps multiple concepts in a single toolbox and is compatible with Node.js streams, …
Both modules are available on NPM and now offer full TypeScript support, the source code being itself TypeScript.
Sponsor me on Github! if you enjoy this code!