An open API service indexing awesome lists of open source software.

https://github.com/faasjs/typed-pg

A type-safe PostgreSQL query builder for TypeScript with a fluent API.
https://github.com/faasjs/typed-pg

Last synced: about 1 year ago
JSON representation

A type-safe PostgreSQL query builder for TypeScript with a fluent API.

Awesome Lists containing this project

README

          

# typed-pg

[![License: MIT](https://img.shields.io/npm/l/typed-pg.svg)](https://github.com/faasjs/typed-pg/blob/main/LICENSE)
[![NPM Version](https://img.shields.io/npm/v/typed-pg.svg)](https://www.npmjs.com/package/typed-pg)
[![Last commit](https://img.shields.io/github/last-commit/faasjs/typed-pg)](https://github.com/faasjs/typed-pg)
[![Unit Status](https://github.com/faasjs/typed-pg/actions/workflows/unit-test.yml/badge.svg)](https://github.com/faasjs/typed-pg/actions/workflows/unit-test.yml)

[![Coverage Status](https://img.shields.io/codecov/c/github/faasjs/typed-pg.svg)](https://app.codecov.io/gh/faasjs/typed-pg)
[![Commits](https://img.shields.io/github/commit-activity/y/faasjs/typed-pg)](https://github.com/faasjs/typed-pg/commits)
[![Downloads](https://img.shields.io/npm/dm/typed-pg)](https://github.com/faasjs/typed-pg)
[![Pull requests](https://img.shields.io/github/issues-pr-closed/faasjs/typed-pg)](https://github.com/faasjs/typed-pg/pulls)

**This package is still in development and not yet ready for production use.**

A type-safe PostgreSQL query builder for TypeScript with a fluent API.

## Features

- 🎯 Full TypeScript support
- 🔒 Type-safe queries
- ⚡ Built on top of the high-performance `postgres.js` package
- 🔗 Fluent chainable API
- 🛡️ SQL injection prevention
- 📦 Transaction support
- 🎨 Clean and intuitive API

## Installation

```bash
npm install typed-pg
```