Small utility to restore JavaScript parseFloat behavior to node-postgres (pg), converting float4, float8, and numeric columns to JavaScript floats. Version 0.0.1 is stable, with no active development. It serves as a reference for building custom type parsers. Differentiates itself as a minimal, dependency-free patch for node-postgres users who want floats instead of strings for numeric types.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
The library is CommonJS only and should be called as a function with the pg module as argument.
Shows how to require and invoke pg-parse-float to patch node-postgres, then query a float column and receive a JavaScript number.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.