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

cok-lang

v0.1.1

Published

Compiler bahasa pemrograman Suroboyoan (.cok)

Downloads

270

Readme

cok-lang

cok-lang adalah bahasa pemrograman transpile-to-JavaScript yang menggunakan sintaksis Boso Suroboyoan (dialek Jawa Timur). Kode .cok diubah menjadi JavaScript lalu dieksekusi di atas Node.js VM.

Instalasi

# Install global via npm
npm install -g cok-lang

# Atau clone dan jalankan
node ./bin/cok.js <file.cok>

Cara Menggunakan

Buat file dengan ekstensi .cok, lalu tulis program menggunakan sintaks Suroboyoan. Contoh:

tulis("Halo rek!");

Jalankan di terminal:

cok halo.cok

Referensi Keyword Lengkap

| Keyword cok-lang | Padanan JavaScript | Deskripsi | | :--------------- | :----------------- | :----------------------------------- | | cak | let | Deklarasi variabel yang bisa diubah | | cok | const | Deklarasi variabel konstan | | gawe | function | Deklarasi fungsi | | tulis | console.log | Cetak ke layar/terminal | | takon | readline | Meminta input dari user | | lek | if | Kondisi / syarat | | lek-gak-ngono | else if | Kondisi alternatif bertingkat | | berarti | else | Kondisi alternatif terakhir | | milih | switch | Pilih berdasarkan nilai | | nek | case | Kasus di dalam switch | | muter | for | Perulangan range (teko … nganti …) | | saklawase | while | Perulangan selama kondisi benar | | saben | for...of | Perulangan tiap elemen array/objek | | teko | from | Kata bantu: awal range | | nganti | to | Kata bantu: akhir range | | balekno | return | Kembalikan nilai dari fungsi | | leren | break | Hentikan perulangan / switch | | terus | continue | Lanjut ke iterasi berikutnya | | bener | true | Nilai boolean benar | | salah | false | Nilai boolean salah | | gak-ono | null | Nilai kosong (null) | | gak-ditetepake | undefined | Tidak terdefinisi | | iki | this | Referensi objek saat ini | | kelas | class | Deklarasi kelas | | anyar | new | Instansiasi objek baru | | turunan | extends | Pewarisan kelas | | janji | async | Fungsi asinkron | | enteni | await | Menunggu promise selesai | | coba | try | Blok percobaan (try) | | cekel | catch | Menangkap error | | pasti | finally | Selalu dieksekusi setelah try/catch | | uncal | throw | Melempar error manual | | gowo | import | Mengimpor modul | | kirim | export | Mengekspor modul | | podho | === | Perbandingan sama persis | | gak-podho | !== | Perbandingan tidak sama | | lan | && | Operator logika DAN | | utowo | \|\| | Operator logika ATAU | | gak | ! | Operator logika TIDAK |

Kontribusi

Buka issue atau pull request di repository resmi.