
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
🌾 A Bhojpuri-based funny programming language CLI where
kaha_bhauji("Hello")
becomesconsole.log("Hello")
!
🤓 Write JavaScript in pure desi Bhojpuri — Bhauji-style!
npm install -g bhauji-js
```bash
bhauji <filename>.bj
# or
bhojpuri <filename>.bj
---
## 👀 Ek Example
Create a file called `hello.bj`:
```bj
kaisan bhauji;
batayi naam = "Duniya";
kaha_bhauji("Namaste " + naam);
Run it:
bhauji hello.bj
Output:
Namaste Duniya
🐮 Bhojpuri Syntax | 🧠 JavaScript Equivalent | 📋 Description |
---|---|---|
kaha_bhauji(x) | console.log(x) | Print to console |
bhauji_suni_ta(x) | prompt(x) | Take input from user |
bhauji_dikhai_ta(x) | document.write(x) | Write to document |
batayi naam = "Ram" | let naam = "Ram" | Declare a variable |
pakki_bat naam = 5 | const naam = 5 | Declare a constant |
maanle (x > 5) | if (x > 5) | If condition |
nahi_ta_phir (x < 2) | else if (x < 2) | Else if condition |
na_ta | else | Else block |
dekhi_ke(x) | switch(x) | Switch case |
agar (5): | case 5: | Case block |
jab_kucho_nahi | default | Default case |
bas_ho_gail | break | Break statement |
ginti_se(init; cond; step) | for(init; cond; step) | For loop |
jabahu_tak (x < 10) | while (x < 10) | While loop |
kari { ... } phir_dhekhi(x) | do { ... } while(x) | Do...while loop |
age_badhi | continue | Continue loop |
wapis x | return x | Return value |
kam_kar fn(x) | function fn(x) | Function declaration |
kam_kar (x) { ... } | function(x) { ... } | Anonymous function |
kam_kar fn(x) { | const fn = function(x) { | Assign function to const |
kam_dekh fn(x) | fn(x) | Call a function |
awa_jara fn(x) | fn(x) | Call a function |
jhund(a, b, c) | Array.of(a, b, c) | Create array |
jhund[] | [] | Empty array |
.theshi_dei(x) | .push(x) | Add item to array |
.nikal_dei() | .pop() | Remove item from end |
.lambai | .length | Array length |
.rup_dei(x) | .map(x) | Map over array |
.chantt_dei(x) | .filter(x) | Filter array |
.khoj_dei(x) | .find(x) | Find item in array |
.saja_dei(x) | .reduce(x) | Reduce array |
har_ek | forEach | forEach method |
jholi | Object | JS object |
nulla | null | Null value |
naya | new | New instance |
dekha | typeof | Type check |
rok | throw | Throw error |
kosis kara | try | Try block |
pakad le | catch | Catch block |
akhri mein | finally | Finally block |
kaisan bhauji;
batayi score = 85;
pakki_bat naam = "Munna";
kaha_bhauji("Parnaam ji bhauji!");
kam_kar badhai(kauno_naam) {
kaha_bhauji("Badhai ho, " + kauno_naam + "!");
wapis "Kaam pura bhail";
}
kam_dekh badhai(naam);
maanle (score > 90) {
kaha_bhauji("Topper baa!");
} nahi_ta_phir (score > 80) {
kaha_bhauji("Achha kiya babua!");
} na_ta {
kaha_bhauji("Aur mehnat kara!");
}
dekhi_ke(score) {
agar (100):
kaha_bhauji("Perfect score!");
bas_ho_gail;
agar (85):
kaha_bhauji("Bahut badiya!");
bas_ho_gail;
jab_kucho_nahi:
kaha_bhauji("Dekhiye bhauji, kuch aur number mile.");
}
pakki_bat student = jhund("Munna", "Guddu", "Bablu");
student.har_ek(kam_kar(nam) {
kaha_bhauji("Student baa: " + nam);
});
batayi sankhya =[1, 2, 3, 4, 5, 6, 7, 8, 9, 0];
batayi dugna = sankhya.rup_dei(kam_kar(n) {
wapis n * 2;
});
batayi teen = sankhya.khoj_dei(kam_kar(n) {
wapis n === 3;
});
kaha_bhauji(dugna);
kaha_bhauji(teen);
batayi bara = sankhya.chantt_dei(kam_kar(n) {
wapis n > 3;
});
batayi total = sankhya.saja_dei(kam_kar(p, c) {
wapis p + c;
});
kosis kara {
maanle (dekha(naam) === "string") {
kaha_bhauji("Naam ekdam sahi ba: " + naam);
}
rok "Galti pakad le gail!";
} pakad le (err) {
kaha_bhauji("Pakad le gail: " + err);
} akhri mein {
kaha_bhauji("Bhauji, ab kaam pura bhail.");
}
batayi aadmi = {
naam: "Ram",
umar: 25,
bol: kam_kar() {
kaha_bhauji("Hamaar naam " + aadmi.naam + " baa, aur umar " + aadmi.umar + " saal baa");
}
};
aadmi.bol();
.bj
file (done)bhauji_se_import kara
npm link
karo, test karo!Made with ❤️ by Bhauji ke fan — \Biswajeet Mishra
"Code likho desi mein, JavaScript chalai Bhauji!"
MIT License — use, break, remix, aur Bhauji ko yaad karo 😄
🌼 Bhauji bolti: 'Code likh babua, duniya jeet jaiba!' 🌼
FAQs
Bhojpuri programming language transpiler and CLI runner
We found that bhauji-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.