PostgreSQL-Data-Types
A collection of the PostgreSQL data types
Table of Contents
Installation
Usage
Ecosystem
License
Installation
Install it with your package manager of choice (npm, yarn, pnpm)
npm install postgresql-data-types
yarn add postgresql-data-types
pnpm i postgresql-data-types
Usage
import { DataType, DataTypes } from "postgresql-data-types";
console.log(DataType.uuid);
let datatype: DataTypes = "uuid";
console.log(DataType[datatype]);
Ecosystem
This package is part of the PostgreSQL-Typed ecosystem.
License
Mozilla Public License 2.0