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

kemlang-py

v0.1.3

Published

KemLang - A Gujarati-flavored programming language

Readme

kemlang-py

A Gujarati-flavored programming language — install it like Bhailang.

npm PyPI License


Install

npm install -g kemlang-py

Requires Node.js 14+ and Python 3.10+. The installer automatically detects Python and installs the KemLang interpreter via pip.


After Installing

You get the kem command globally:

# Verify installation
kem version

# Start the interactive REPL
kem repl

# Run a .jsk file
kem run hello.jsk

# Run with token + AST trace
kem run hello.jsk --trace

# Format a file in-place
kem fmt hello.jsk

# Check formatting without modifying
kem fmt --check .

# Show token stream
kem tokens hello.jsk

# Show abstract syntax tree
kem ast hello.jsk

Quick Start

Create hello.jsk:

kem bhai
    bhai bol "kem cho, duniya!"
aavjo bhai

Run it:

kem run hello.jsk
# Output: kem cho, duniya!

Language Basics

Every KemLang program is wrapped in kem bhai ... aavjo bhai.

kem bhai
    // Variables
    aa naam che "Sanket"
    aa age che 25
    aa pi che 3.14

    // Print
    bhai bol "Hello, " + naam + "!"

    // Conditionals
    jo age >= 18 {
        bhai bol "adult"
    } nahi to {
        bhai bol "minor"
    }

    // Loop
    aa i che 1
    farvu {
        bhai bol i
        i che i + 1
        jo i > 3 { tame jao }
    } jya sudhi bhai chhe

    // Input
    aa input che bapu tame bolo
    bhai bol "You said: " + input
aavjo bhai

Keywords

| Keyword | Meaning | |---------|---------| | kem bhai | Program start | | aavjo bhai | Program end | | aa <name> che <value> | Declare variable | | <name> che <value> | Re-assign variable | | bhai bol <expr> | Print | | bapu tame bolo | Read input | | jo | if | | nahi to | else | | farvu { } jya sudhi <cond> | while loop | | tame jao | break | | aagal vado | continue | | bhai chhe | true | | bhai nathi | false |


How It Works

This npm package is a thin wrapper that:

  1. Detects Python 3.10+ on your system
  2. Installs kemlang-py via pip
  3. Wraps the kem Python CLI so it's accessible from your terminal globally

Troubleshooting

kem: command not found

# Verify Python is installed
python3 --version   # needs 3.10+

# Reinstall
npm uninstall -g kemlang-py && npm install -g kemlang-py

Python not found

# macOS
brew install [email protected]

# Ubuntu/Debian
sudo apt update && sudo apt install python3.11 python3-pip

# Windows — download from https://www.python.org/downloads/

Permission errors on macOS/Linux

sudo npm install -g kemlang-py

Also Available on PyPI

If you prefer installing directly with pip:

pip install kemlang-py

Links


MIT License