
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
qrencode-raw
Advanced tools
A node.js wrapper for libqrencode, but instead of encoding data to image, it returns raw QR data in buffer, which allows you to do amazing things.

A node.js wrapper for libqrencode, but instead of encoding data to image, it returns raw QR data in buffer, which allows you to do amazing things.
You may need to install libqrencode-dev (>= 3.2) before install this package.
# Ubuntu
sudo apt-get install libqrencode-dev
# OS X
brew install libqrencode
npm install --save qrencode-raw
var qr = require('qrencode-raw');
var res = qr.encode(data, level, version);
qr.ECLEVEL_L Lowestqr.ECLEVEL_Mqr.ECLEVEL_Qqr.ECLEVEL_H Highest0 auto1 ~ 40 manually set{
version: 1,
width: 21,
data: <SlowBuffer ...>
}
qr.DOT_BLACK dot is black.qr.DOT_DATA_ECC dot is part of data or ecc codeqr.DOT_FORMAT dot is format infoqr.DOT_VERSION dot is version infoqr.DOT_TIMING dot is part of timing patternqr.DOT_ALIGN dot is part of alignment patternqr.DOT_FINDER dot is part of finder patternqr.DOT_NON_DATA dot is non-dataFAQs
A node.js wrapper for libqrencode, but instead of encoding data to image, it returns raw QR data in buffer, which allows you to do amazing things.
We found that qrencode-raw 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.