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

indo-langvm

v1.0.0

Published

Bahasa pemrograman dengan kata kunci berbahasa Indonesia

Readme

InDo

Bahasa pemrograman modern dengan kata kunci berbahasa Indonesia.

InDo setara dengan JavaScript modern (ECMAScript) ditambah runtime mirip Node (berkas, proses, jaringan), tetapi seluruh kata kuncinya berbahasa Indonesia. Berkas sumber memakai ekstensi .wni.

fungsi salam(nama) {
  kembalikan `Halo, ${nama}!`
}

untuk (tetap orang dari ["Dunia", "InDo"]) {
  cetak(salam(orang))
}

Instalasi

npm install -g indo-langvm

Perintah CLI-nya tetap indo.

Atau jalankan langsung dari repositori:

npm install
npm run build

Penggunaan

indo jalankan program.wni     # menjalankan program
indo periksa program.wni      # cek galat sintaks tanpa menjalankan
indo rapikan program.wni      # memformat kode otomatis
indo tes                      # menjalankan berkas *.tes.wni
indo mandiri program.wni      # menjalankan lewat compiler InDo (self-hosting)
indo lsp                      # server bahasa untuk editor
indo                          # REPL interaktif

Kata Kunci

| Indonesia | Padanan | Indonesia | Padanan | | --- | --- | --- | --- | | misal / tetap / var | let / const / var | fungsi | function | | jika / lainnya | if / else | kembalikan | return | | selama | while | lakukan | do | | untuk / dari / dalam | for / of / in | henti / lanjut | break / continue | | pilih / kasus / bawaan | switch / case / default | hasilkan | yield | | kelas / mewarisi | class / extends | baru | new | | ini / induk | this / super | konstruktor | constructor | | statis / dapatkan / tetapkan | static / get / set | coba / tangkap / akhirnya | try / catch / finally | | lempar | throw | asinkron / tunggu | async / await | | impor / ekspor / sebagai | import / export / as | benar / salah | true / false | | kosong / taktentu | null / undefined | dan / atau / bukan | && / || / ! | | jenisdari / contohdari | typeof / instanceof | hapus | delete |

Fitur

  • Variabel, semua operator (aritmatika, bitwise, logika, nullish, opsional).
  • Fungsi, closure, fungsi panah, parameter bawaan & sisa, destrukturisasi.
  • Kelas: pewarisan, induk, getter/setter, field & blok statis, field privat (#).
  • coba/tangkap/akhirnya, hierarki galat (Galat, GalatTipe, dll).
  • Generator (fungsi*, hasilkan, hasilkan*), iterator, untuk...dari.
  • asinkron/tunggu, Janji, timer — event loop dengan urutan mikro/makro seperti Node.
  • Modul: impor/ekspor (default, bernama, namespace, dinamis).
  • Pustaka standar: Matematika, JSON, Objek, Larik, Teks, Peta, Himpunan, Tanggal, RegEx, dan runtime Berkas, Jalur, Proses, Jaringan, Kripto.

Lihat DOKUMENTASI.md untuk referensi lengkap dan contoh/ untuk contoh program.

Self-Hosting

Tujuan akhir InDo tercapai: compiler-nya ditulis dalam InDo sendiri. Folder mandiri/ berisi lexer, parser, dan compiler berbahasa .wni. Mesin benih (TypeScript) hanya menjalankan compiler tersebut.

Setiap tahap dibuktikan identik dengan implementasi benih lewat tes diferensial: lexer (token), parser (AST), dan compiler (bytecode) menghasilkan keluaran yang sama persis — termasuk saat memproses sumbernya sendiri.

npm run verifikasi:bootstrap

Pengembangan

npm test          # seluruh tes (unit, golden, diferensial, bootstrap)
npm run benchmark # tolok ukur performa

InDo diimplementasikan sebagai lexer → parser (Pratt) → compiler bytecode → mesin virtual berbasis stack, dengan closure gaya clox (upvalue) dan event loop asinkron.