Hey there, I'm Naim! ๐จโ๐ป
โก Hi, I'm Naim Malek, a Full-Stack Engineer ๐.
an-qrcode Angular6+ QRCode generator lightweight library
Home Page: https://naimmalek.github.io/an-qrcode-sample-app/
โก Hi, I'm Naim Malek, a Full-Stack Engineer ๐.
Thanks for proyect.
i would like know how get data base64 result of image
Thanks.
ERROR in node_modules/an-qrcode/lib/an-qrcode.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
This likely means that the library (an-qrcode) which declares AnQrcodeModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version
of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
Hello,
Is this repo actively maintained? I need to upgrade to Angular 11 and the only package in my dependencies that's blocking me is this one. Any plans to update soon?
Thanks a lot.
I wanted to make image center horizontally but only finding out the image is larger than the qr code and the qr code is on the top left of the image, leaving some blank padding on the right and bottom.
AnQrcodeComponent has inside the ngOnInit an console.log
console.log("this.result", this.result);
Could this be removed, or behind a debug statement?
Try to keep my console clean
โค๏ธ Thank you for updating your repository to work with Angular 17 ๐
๐ unfortunately the published npm package (version 1.1.0
) fails installation into an Angular 17 project:
npm ERR! peer @angular/common@">= 6.0.0 < 9.0.6" from [email protected]
npm ERR! node_modules/an-qrcode
npm ERR! an-qrcode@"1.1.0" from the root project
I think the fix is easy, so I created a PR: #32
The fix:
"peerDependencies": {
"@angular/common": ">= 6.0.0 < 18.0.0",
npm 7
seems to be more strict with dependency resolution and provides the following error when "@angular/common": "11.2.1"
is installed:
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@">= 6.0.0 < 11.0.2" from [email protected]
npm ERR! node_modules/an-qrcode
npm ERR! an-qrcode@"1.0.7" from the root project
A simple solution is probably to bump the https://github.com/naimmalek/an-qrcode/blob/master/package.json#L15 version ๐ค
Please remove debug console log from:
class AnQrcodeComponent
ngOnInit()
console.log("this.result", this.result);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.