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 🙏

© 2026 – Pkg Stats / Ryan Hefner

gformdummy

v1.20.0

Published

Submit dummy CSV responses to owned public Google Forms for QA/testing.

Readme

gformdummy

TUI & CLI untuk mengisi Google Form publik menggunakan data dummy dari CSV.

Dibuat untuk kebutuhan QA/testing form milik sendiri: uji response sheet, dashboard, pipeline analisis, demo, atau validasi form.

[!WARNING] Gunakan hanya untuk Google Form yang kamu miliki atau kamu punya izin untuk mengetesnya. Jangan gunakan tool ini untuk memalsukan responden survei nyata atau membuat data dummy terlihat sebagai respons asli.


Install

npm install -g gformdummy

Atau tanpa install global:

npx gformdummy

Quick Start

TUI Mode (default)

Cukup jalankan tanpa argumen:

gformdummy

TUI akan terbuka dengan:

  • ASCII art header
  • step navigasi (URL → CSV → Mode → Options → Confirm)
  • text input sungguhan yang bisa diketik dan diedit
  • pilih mode dry-run / submit
  • review sebelum menjalankan
  • hasil langsung di terminal

CLI Mode

Langsung dari argumen:

gformdummy \
  --form-url 'https://docs.google.com/forms/d/e/FORM_ID/viewform' \
  --csv data_dummy.csv \
  --dry-run \
  --limit 3

Submit 1 row test:

gformdummy \
  --form-url 'https://docs.google.com/forms/d/e/FORM_ID/viewform' \
  --csv data_dummy.csv \
  --submit \
  --limit 1

Fitur

  • TUI interaktif dengan ASCII art dashboard
  • Text input sungguhan — bisa diketik, diedit, dihapus
  • Step navigasi — URL → CSV → Mode → Options → Confirm
  • Mode default dry-run — aman, tidak submit tanpa konfirmasi
  • Auto pageHistory — menangani form multi-section
  • Normalisasi opsi — toleransi dash/spasi otomatis
  • No external API — semua proses lokal

Format CSV

CSV harus punya header sesuai pertanyaan form.

Nama,Umur,Jenis Kelamin
Tester A,21,Laki - laki
Tester B,22,Perempuan

Tips paling aman:

  1. Isi form sekali manual
  2. Export response ke CSV
  3. Pakai header CSV sebagai template
  4. Isi data dummy di bawahnya

Opsi CLI

| Opsi | Keterangan | |---|---| | --form-url | URL Google Form /viewform. Wajib untuk CLI mode. | | --csv | Path file CSV dummy. Wajib untuk CLI mode. | | --dry-run | Validasi saja, tidak submit. Default. | | --submit | Submit response ke Google Form. | | --limit | Batasi jumlah row. | | --start | Mulai dari row tertentu, 1-based. | | --delay | Delay antar submit, default 0.8 detik. | | --jitter | Random delay tambahan, default 0.4 detik. | | --encoding | Encoding CSV, default utf8. | | --timeout | HTTP timeout, default 30 detik. | | --page-history | Override manual pageHistory. | | --no-auto-page-history | Matikan inferensi pageHistory. | | --name-prefix | Prefix field pertama. | | --preview-rows | Jumlah preview saat dry-run. | | -h, --help | Bantuan. | | -v, --version | Versi. |


Tentang pageHistory

Form multi-section punya hidden field pageHistory. Tool ini otomatis menghitung section dan mengirim pageHistory penuh.

Jika kolom akhir kosong setelah submit:

  1. Cek output pageHistory yang dipakai
  2. Coba override manual: --page-history '0,1,2,3,4,5,6'
  3. Submit 1 row test dulu

Troubleshooting

Tidak menemukan FB_PUBLIC_LOAD_DATA_

  • Pastikan URL adalah /viewform
  • Form harus publik dan tidak butuh login

Header CSV tidak cocok

  • Header CSV harus sama dengan judul pertanyaan form
  • Urutan harus sama

Nilai opsi tidak valid

  • Nilai CSV harus cocok dengan opsi form
  • Tool toleransi dash: 2-5 kali2–5 kali

Windows: gformdummy is not recognized

npm install -g gformdummy

Kalau masih error, cek PATH:

npm config get prefix

Tambahkan folder tersebut ke PATH Windows.


Etika

Dibuat untuk:

  • QA/testing form sendiri
  • demo pipeline data
  • validasi response sheet

Jangan gunakan untuk:

  • memalsukan respon survei
  • spam form orang lain
  • melewati restriksi akses

License

MIT License.