Socket
Socket
Sign inDemoInstall

postgresql-data-types

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    postgresql-data-types

A collection of the PostgreSQL data types


Version published
Maintainers
1
Created

Readme

Source

PostgreSQL-Data-Types

NPM Version CI Status Coverage

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
npm install postgresql-data-types

# yarn
yarn add postgresql-data-types

# pnpm
pnpm i postgresql-data-types

Usage

import { DataType, DataTypes } from "postgresql-data-types";

console.log(DataType.uuid); // 2950

let datatype: DataTypes = "uuid"; // Has autocomplete when using DataTypes as the TypeScript type

console.log(DataType[datatype]); // 2950

Ecosystem

This package is part of the PostgreSQL-Typed ecosystem.

License

Mozilla Public License 2.0

Keywords

FAQs

Last updated on 15 Feb 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc