qr-hpulido
v0.0.4
Published
Encrypt and decrypt data using your own key
Downloads
1
Maintainers
Readme
qr-hpulido
Create Qr along with custom logo.
Installation
npm install qr-hpulido
Usage
import { generateSms, generateUrl, generateTextPlain, generateEmail, generateWifi, generateContact } from 'qr-hpulido';
var image = await generateSms(573000000000, 'Hello Wold!', 'https://www.example.com/logo.png');
var image = await generateUrl('https://www.example.com', 'https://www.example.com/logo.png');
var image = await generateTextPlain('Hello Wold!', 'https://www.example.com/logo.png');
var image = await generateEmail('[email protected]', 'Subject', 'Body', 'https://www.example.com/logo.png');
var image = await generateWifi('name', 'password');
var image = await generateContact('John', 573000000000, '[email protected]', 'Company', 'Address', 'https://www.example.com', 'https://www.example.com/logo.png');
image.write('name.png');
Contributing
Feel free to contribute to this project. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.