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

steel-lang-2

v2.0.0

Published

A simple, human-readable scripting language

Downloads

205

Readme

Steel Language v2.0

npm

Steel is a simple, readable programming language designed to be easy to learn and intuitive to use. It focuses on clean syntax, minimal complexity, and fast execution through a custom JavaScript interpreter.

Install

npm install steel-lang-2

Features

  • Variables: set x to 10
  • Output: say "Hello!"
  • Template Strings: `Hello ${name}!`
  • Conditionals: if / elseif / else / end
  • Loops: while / for / for each / repeat
  • Functions: define name as (params) ... return value end with closures and recursion
  • Arrays: [1, 2, 3] with index access, set arr[0] to val
  • Full Operators: + - * / % > < >= <= == != and or not
  • Comments: // line comments
  • Booleans: true, false, null
  • Operator Precedence: Proper precedence climbing (multiplication before addition, etc.)

Built-in Functions

Math

abs, round, floor, ceil, sqrt, pow, min, max, random, pi, e

String

len, upper, lower, trim, substring, replace, split, join, contains, charAt, indexOf, startsWith, endsWith, repeat, padStart, padEnd

Array

push, pop, shift, unshift, reverse, sort, slice, includes, flat, range

Type

type, isNumber, isString, isArray, toString, toNumber

Misc

clock, sleep, input

Quick Start

git clone https://github.com/magnexis/Steel-lang.git
cd Steel-lang
node src/index.js examples/hello.steel

Example

// Variables and types
set name to "Steel"
set version to 2

// Functions with recursion
define factorial as (n)
  if n <= 1 then
    return 1
  end
  return n * factorial(n - 1)
end

say factorial(10)  // 3628800

// Arrays and loops
set nums to [1, 2, 3, 4, 5]
for each n in nums
  say n * n
end

// Higher-order patterns
define sum as (arr)
  set total to 0
  for each val in arr
    set total to total + val
  end
  return total
end

say sum(range(1, 101))  // 5050

Project Structure

steel-lang/
├── src/           # Language engine
│   ├── lexer.js       # Tokenizer
│   ├── parser.js      # Recursive descent parser with precedence climbing
│   ├── interpreter.js # Tree-walking interpreter
│   ├── environment.js # Scope, built-ins, function closures
│   └── index.js       # CLI entry point
├── examples/      # Example programs
│   ├── hello.steel
│   ├── logic.steel
│   ├── variables.steel
│   ├── features-demo.steel
│   ├── control-flow.steel
│   └── functions-arrays.steel
└── stl/           # VS Code extension

License

MIT