pg-numeric

1.0.2 • Public • Published

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'

/pg-numeric/

    Package Sidebar

    Install

    npm i pg-numeric

    Weekly Downloads

    3,264,475

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    4.17 kB

    Total Files

    5

    Last publish

    Collaborators

    • charmander