Skip to content
JS
Package

pg-format

Node.js implementation of PostgreSQL's format() to safely create dynamic SQL queries.

v1.0.4, 18 Feb 2017MITCommonJSTypes: None
$ npm install pg-format

Key numbers

As of 25 Sept 2026
Weekly downloads
522.6k
+53% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
9 years ago
v1.0.4
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 784k (18 Aug 2026)Low 172.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

522,568 downloads last week, 2,513,765 in the last month. The 12-month change of +53% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
1.0.4, 18 Feb 20179 years ago
First published
21 Oct 2014
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v1 first release 1.0.1, 28 Oct 2015
  2. v0 first release 0.1.0, 21 Oct 2014

Recent releases

VersionPublished
1.0.418 Feb 2017
1.0.315 Sept 2016
1.0.215 Feb 2016
1.0.128 Oct 2015
0.1.411 Dec 2014
0.1.311 Dec 2014
0.1.22 Nov 2014
0.1.129 Oct 2014
0.1.021 Oct 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=4.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install pg-format
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pg-format@1.0.4/
  • unpkghttps://unpkg.com/pg-format@1.0.4/
  • esm.shhttps://esm.sh/pg-format@1.0.4
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.