Skip to content
JS
Package

@scaleleap/pg-format

A fully typed TypeScript and Node.js implementation of PostgreSQL format() to safely create dynamic SQL queries. SQL identifiers and literals are escaped to help prevent SQL injection.

v1.0.0, 23 May 2021MITCommonJSTypes: Bundled
$ npm install @scaleleap/pg-format

Key numbers

As of 25 Sept 2026
Weekly downloads
51.3k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v1.0.0
GitHub stars
17
0 forks
Open issues / PRs
4 / 0
Contributors
-
Commits, last 52 weeks
0

No weekly download data in the snapshot.

51,321 downloads last week, 287,171 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.0.0, 23 May 20215 years ago
First published
-
Last push to GitHub
23 May 20211,951 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
11

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
29 kB
Dependencies (0)
None
npm install @scaleleap/pg-format
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@scaleleap/pg-format@1.0.0/
  • unpkghttps://unpkg.com/@scaleleap/pg-format@1.0.0/
  • esm.shhttps://esm.sh/@scaleleap/pg-format@1.0.0
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.