pg-numeric

reads PostgreSQL binary format for numeric values into a string

ISC 3 个版本
安装
npm install pg-numeric
yarn add pg-numeric
pnpm add pg-numeric
bun add pg-numeric
README

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'
版本列表
1.0.2 2019-11-11
1.0.1 2019-09-10
1.0.0 2019-08-15