Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rqrencoder

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rqrencoder

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

RQREncoder

A Ruby gem for easy QR Code generation, using C for speed

Install

You'll need libqrencode installed on your machine.

Then, install with Rubygems:

gem install rqrencoder

Usage

Create an encoder, and encode away! The QRCode result contains a grid of bits indicating if a particular square is "dark" (true)

>> require 'rqrencoder'
=> true
>> encoder = RQREncoder::QREncoder.new
=> #<RQREncoder::QREncoder>
>> qrcode = encoder.encode("HELLO")
=> #<RQREncoder::QRCode:0x0000010203b7b0>
>> qrcode.modules[0][0]
=> true
>> qrcode.modules[1][5]
=> false

Author

Matt Robinson

FAQs

Package last updated on 31 Oct 2010

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc