Random toughts and steps for creation of the https://github.com/yurydelendik/zbarjs project.
The http://zbar.sf.net looks like a good library. The license is LGPL, we have to take that in account late. Let's compile http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz2 :
./configure --disable-video --without-python --without-qt