npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

qris-statis-to-dinamis

v1.1.3

Published

qr statis to dinamis bisa membuat qris menerima pembayaran sesuai nominal

Readme

qris-statis-to-dinamis

qris-statis-to-dinamis adalah modul Node.js untuk membuat QRIS Dinamis secara otomatis dengan perhitungan CRC16.

📦 Instalasi

Gunakan npm untuk menginstal modul ini:

npm install qris-statis-to-dinamis

🚀 Penggunaan

Import Modul

const { qrisDinamis } = require('qris-statis-to-dinamis');

🔹 Generate QRIS Dinamis

📌 1. Menyimpan QR Code ke File

(async () => {
    try {
        let qrisString = "000201010211..."; // Gantilah dengan string QRIS yang valid
        let nominal = "10000"; // Nominal dalam Rupiah
        let filePath = "./qris_output.png";

        let result = await qrisDinamis(qrisString, nominal, { path: filePath });
        console.log("QRIS berhasil dibuat di:", result);
    } catch (error) {
        console.error(error);
    }
})();

📌 2. Menghasilkan QR Code dalam Format Base64

(async () => {
    try {
        let qrisString = "000201010211..."; // Gantilah dengan string QRIS yang valid
        let nominal = "50000";

        let base64String = await qrisDinamis(qrisString, nominal, { base64: true });
        console.log("Base64 QRIS:", base64String);
    } catch (error) {
        console.error(error);
    }
})();

⚙️ Opsi Konfigurasi

| Parameter | Tipe | Deskripsi | |-----------|------|-----------| | qris_string | string | String QRIS yang valid. | | nominal | string | Nominal dalam format string, contoh: "10000". | | path | string (opsional) | Lokasi penyimpanan file QR Code. Default: qris.png. | | base64 | boolean (opsional) | Jika true, mengembalikan string Base64 dari QR Code. Default: false. |

🎯 Fitur Utama

QRIS Dinamis dengan CRC16
Mendukung format file dan Base64

📜 Lisensi

Proyek ini dirilis di bawah lisensi MIT.


Dibuat oleh: NAFF-DEV 🚀