AMINE KABAB
Blog github linkedin twitter

About

Hey there! I am a software engineering student, I'm always seeking for projects, challenges to work on them, from the designing to the maintaining phase. My two favorite languages are C++ (for OO paradigm and low-level control) and Javascript (Event-driven architecuture is amazing).

I am also a gamer, Rock music fan and a movie addict.

If you like to check my resume you can request it from here : Resume

Blog

Portfolio

Qr-cairo

Fork me on GitHub

Another QR code library for nodejs, aiming at allowing more customization on your QR code result like changing background or changing code color (still needs some work).

This library is based on the native Cairo and libqrencode library, so as requirements you should have this two libraries installed on your OS :

Installation

Use npm

npm install qr-cairo

Usage

var qr_cairo = require('qr-cairo');

// Qr with options
var options = {
               'ec_level': 'l',
               'box_size': '20',
               'back_color': '#ee4444',
               'fill_color': '#222200'
              };

qr_cairo.save("Amine", "test2.png", options);
            

Roadmap

This is a list of some features that I would like to add it to the library

  • Option to chose cercles or triangle instead of squares
  • Change the alpha color parameter
  • Add some unit tests
  • Support SVG and other format if possible
  • Async save method