uxdb-bytea

Postgres bytea parser

Usage no npm install needed!

<script type="module">
  import uxdbBytea from 'https://cdn.skypack.dev/uxdb-bytea';
</script>

README

postgres-bytea Build Status

Postgres bytea parser

Install

$ npm install --save uxdb-bytea

Usage

var bytea = require('uxdb-bytea');
bytea('\\000\\100\\200')
//=> buffer

API

bytea(input) -> buffer

input

Required
Type: string

A Postgres bytea binary string.

License

MIT © Ben Drucker