Neah/node_modules/pg-numeric
2025-04-17 12:39:10 +02:00
..
CHANGELOG.md database wf 2 2025-04-17 12:39:10 +02:00
index.js database wf 2 2025-04-17 12:39:10 +02:00
LICENSE database wf 2 2025-04-17 12:39:10 +02:00
package.json database wf 2 2025-04-17 12:39:10 +02:00
README.md database wf 2 2025-04-17 12:39:10 +02:00

A reader for the PostgreSQL binary format for numeric values, producing a string. Designed for pg.

const readNumeric = require('pg-numeric');

readNumeric(Buffer.from('000600020000000a000c0d801ed203db198f0834', 'hex'))
// '1234567890.0987654321'