
Research
/Security News
Fake imToken Chrome Extension Steals Seed Phrases via Phishing Redirects
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.
postgres-bytea
Advanced tools
Postgres bytea parser
$ npm install --save postgres-bytea
var bytea = require('postgres-bytea');
bytea('\\000\\100\\200')
//=> buffer
bytea(input) -> bufferRequired
Type: string
A Postgres bytea binary string.
MIT © Ben Drucker
The 'pg' package is a PostgreSQL client for Node.js. It provides a comprehensive set of features for interacting with PostgreSQL databases, including handling bytea data types. While 'pg' is a full-featured database client, postgres-bytea is a lightweight utility focused specifically on encoding and decoding bytea data.
The 'pg-promise' package is a promise-based interface for PostgreSQL in Node.js. It offers a wide range of features for database interaction, including support for bytea data types. Compared to postgres-bytea, pg-promise provides a broader set of database functionalities, while postgres-bytea is specialized in bytea encoding and decoding.
FAQs
Postgres bytea parser
The npm package postgres-bytea receives a total of 19,143,289 weekly downloads. As such, postgres-bytea popularity was classified as popular.
We found that postgres-bytea demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.