@postgresql-typed/parsers
TypeScript icon, indicating that this package has built-in type declarations

0.12.0 • Public • Published

@PostgreSQL-Typed/Parsers

Parsers to convert PostgreSQL data types to TypeScript classes

Table of Contents Installation
Usage
Ecosystem
License

Installation

Install @postgresql-typed/parsers

npm install --save @postgresql-typed/parsers

Usage

You can find the usage examples for each type parser in their respective documentation pages.

Category Included Data Types
ByteA bytea
Bit String bit
varbit
Boolean bool
Character bpchar
char
varchar
name
text
Date/Time date
interval
time
timetz
timestamp
timestamptz
Geometric box
circle
line
lseg
path
point
polygon
JSON json
jsonb
Money money
Numeric float4
float8
int2
int4
int8
OID oid
UUID uuid

Range and MultiRange data types are also supported by the Range and MultiRange parsers respectively.

Ecosystem

This package is part of the PostgreSQL-Typed ecosystem.

License

Mozilla Public License 2.0

Package Sidebar

Install

npm i @postgresql-typed/parsers

Weekly Downloads

106

Version

0.12.0

License

MPL-2.0

Unpacked Size

1.02 MB

Total Files

267

Last publish

Collaborators

  • bas950