New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

omni-postgres

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omni-postgres

--- OmniORM PostgreSQL plugin

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

Omni ORM - PostgreSQL

OmniORM PostgreSQL plugin

WARNING: It was meant to be used with Typescript. While it is possible to use with plain JS it is not advised and will be hard to use.

For Typescript, you need to have these two options turned on in tsconfig.json:

{
	"compilerOptions": {
		"emitDecoratorMetadata": true,
		"experimentalDecorators": true
	}
}

Depends on omni-orm, pg.

npm

WARNING: API is not yet final

Requirements

Technically it should have no requirements.

Installation

For yarn:

yarn add omni-postgres

For npm:

npm i omni-postgres

Docs

Imports:

// ES6 JS/Typescript style
import { PostgresRepository } from 'omni-postgres';

// require
const { PostgresRepository } = require('omni-postgres');

Keywords

omni

FAQs

Package last updated on 13 Feb 2024

Did you know?

Socket

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