1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| # postgres-bytea [](https://travis-ci.org/bendrucker/postgres-bytea)
|
| > Postgres bytea parser
|
|
| ## Install
|
| ```
| $ npm install --save postgres-bytea
| ```
|
|
| ## Usage
|
| ```js
| var bytea = require('postgres-bytea');
| bytea('\\000\\100\\200')
| //=> buffer
| ```
|
| ## API
|
| #### `bytea(input)` -> `buffer`
|
| ##### input
|
| *Required*
| Type: `string`
|
| A Postgres bytea binary string.
|
| ## License
|
| MIT © [Ben Drucker](http://bendrucker.me)
|
|