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

alzscript

v0.6.4

Published

ALZ — A beginner-friendly programming language. Write plain English, compiles to Node.js.

Downloads

678

Readme

ALZ Programming Language

Write plain English. Runs on Node.js.


Install

npm install -g alz-lang

The install package is called alz-lang but the command you use is just alz.

alz version

That's it. You're ready.


Run a file

alz myapp.alz

Or with the explicit keyword:

alz run myapp.alz

Interactive shell

alz

Opens the ALZ shell where you can type code line by line.

alz › name = "Sara"
alz › print "Hello {name}"
Hello Sara
alz › exit

Other commands

alz build myapp.alz    # compile to myapp.js
alz check myapp.alz    # check for errors without running
alz version            # show version
alz help               # show help

The language

Variables

name   = "Sara"
age    = 25
price  = 9.99
active = true
empty  = null

Output

print "Hello"
print "Hello {name}"
print "Name: {name}, Age: {age}"
print

Input

name = ask "What is your name? "
print "Hello {name}"

Conditions

if age > 18:
    print "Adult"
else if age == 18:
    print "Just 18"
else:
    print "Minor"
if name is "Sara":
    print "Found her"

if name isnt "Bob":
    print "Not Bob"

Loops

repeat 5:
    print "Hello"

repeat 5 as i:
    print "Step {i}"

each item in items:
    print item

repeat until score > 100:
    score = score + 10

Functions

define greet(name):
    print "Hello {name}"

define add(a, b):
    return a + b

greet("World")
result = add(10, 5)
print result

Lists

fruits = ["apple", "mango", "banana"]
fruits.add("grape")
fruits.remove("mango")
fruits.sort()
print fruits.length
print fruits.has("apple")

Objects

user = { name: "Sara", age: 25 }
print user.name
user.age = 26

Math

x = round(3.7)
x = floor(9.9)
x = sqrt(16)
x = abs(-5)
x = max(3, 7)
x = min(3, 7)
x = power(2, 8)
x = random()

Files

content = read "notes.txt"
write "notes.txt" "Hello World"
add to "notes.txt" "New line"
delete "notes.txt"
exists = file exists "notes.txt"

HTTP

data = fetch "https://api.example.com/users"
print data

Web server

serve on 3000:
    route "/":
        respond "Hello World"

    route "/greet" method="POST":
        name = request.name
        respond "Hello {name}"

Database

No SQL. No setup. Just works.

db.save("users", { name: "Sara", age: 25 })
all    = db.all("users")
one    = db.find("users", { name: "Sara" })
db.update("users", { name: "Sara" }, { age: 26 })
db.remove("users", { name: "Sara" })

Data is stored in .alzdata/ folder as JSON files.

Error handling

try:
    data = fetch "https://api.example.com"
    print data
catch err:
    print "Failed: {err}"

Comments

// single line
# single line
/* multi
   line */

How it works

your .alz file
      ↓
   Lexer        reads your code, produces tokens
      ↓
   Parser       turns tokens into a tree (AST)
      ↓
   Codegen      converts the tree to JavaScript
      ↓
   Node.js      runs the JavaScript

You never see the JavaScript. You just write ALZ.


License

MIT — ALZ TECH