Scan your whole stack
Are you using postgrelize?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.9.1
postgrelize was last scanned on 25 Nov 2026 at version 1.9.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.9.1 LATEST | 25 Nov 2026 | No rules fired |
| 1.9.0 | 25 Nov 2026 | No rules fired |
| 1.8.5 | 25 Nov 2026 | No rules fired |
| 1.8.4 | 24 Nov 2026 | Not shown |
| 1.8.3 | 24 Nov 2026 | Not shown |
Findings for v1.9.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.9.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Sequelize, Model, DataTypes, Op, hooks, validations, scopes, paranoid models, associations and include, transactions, QueryInterface and sync behave like v6. A differential test suite runs every scenario on both libraries and compares results. The TypeScript types follow the v6 declarations too (Model, ModelStatic, query<T>, association mixins), checked by a type-level parity test.where with an Op.in of 5 000 values 18× less. Reads of many rows or with hasMany / belongsToMany includes gain 1.3–1.9×, and build + toJSON is on par. The table, the method and tuning tips are on the Performance page.Everything below is new in postgrelize; Sequelize v6 behaviour never changes. Each area links to its guide page and a runnable example. The full list, with PostgreSQL versions, is on the extensions page.
onConflict with any target, expression updates, WHERE, DO NOTHING; Model.insert() with wasInserted; returningOld (PostgreSQL 18). Guide · upserts · returning-oldbulkCreate({ unnest: true }), MERGE, UPDATE ... FROM, DELETE ... USING, INSERT ... SELECT, COPY FROM / COPY TO streaming. Guide · bulk-writes · merge-returning · copyWITH RECURSIVE, set operations, LATERAL, subqueries, DISTINCT ON, window functions, keyset pagination, TABLESAMPLE, JSON_TABLE, operator and full-text search helpers, server-side cursors. Guide · advanced-queries · operator-helpers · json-tableLISTEN/NOTIFY, SET LOCAL for RLS, advisory locks, DEFERRABLE transactions, statementTimeout, read replicas, named prepared statements. Guide · sessions · connection@Table, @Column, associations and hook decorators with sequelize.addModels, in TC39 and legacy modes. Guide · decoratorsEXCLUDE, temporal constraints. Schema objects · Constraints and indexes · schema-objects · constraints-indexesINTERVAL, HSTORE, LTREE, geometric types, multiranges, composite types, PostGIS as GeoJSON, Standard Schema validation. Guide · types · geometry · multirange · composite · postgisLooking for one option or method? Use the option reference and the API reference.
npm install postgrelize pg
The package is published on npmjs.com as postgrelize. The former GitHub Packages name @tormozz48/postgrelize is deprecated: switch the dependency and your imports to postgrelize.
The package ships llm/USAGE.md (a compact, tested usage guide) and an Agent Skill in skills/postgrelize/, next to the typed .d.ts files with TSDoc. The docs site publishes llms.txt and llms-full.txt. See Using with LLMs and agents.
Define a model, sync it and run a first query: Getting started (runnable: getting-started.ts). Coming from Sequelize? Read Migrating from Sequelize.
Guides for the Sequelize v6 API: models and data types · associations · querying · transactions · hooks and validation · errors · connection · schema and sync.
All examples live in docs/examples; each one runs in CI.
MERGE ... RETURNING 17+, returningOld 18+.pg driver.describeTable defaults to current_schema() instead of public); see Sequelize issues fixed in postgrelize for the full list.npm ci
npm run db:up # PostgreSQL 16 in Docker on port 54329
npm run lint && npm run format:check && npm run typecheck
npm test # unit + integration + differential (vs sequelize@6)
npm run build && npm run test:build
npm run llm:build # regenerate llm/USAGE.md and skills/ from docs/llm + docs/examples/llm-usage.ts
npm run docs # documentation site into docs/.vitepress/dist (npm run docs:dev to preview)
npm run test:coverage # coverage report into coverage/
The performance gate (bench/) also runs on a GitHub runner: the manual workflow bench gate compares a ref with the latest tag.
Contribution rules (architecture, tests, documentation sync, releases) are in AGENTS.md. Design records, ADRs and reviews live in .10x/.
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.