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

schizospeak

v1.2.2

Published

> Schizospeak is an ongoing project

Readme

Schizospeak

Schizospeak is an ongoing project

Installation

Go to this website and download manually or in the terminal execute the following command:

> npm i schizospeak

Schizospeak is an esoteric programming language such as LOLCODE and Shakespeare. Currently, all syntactical rules are due for changes. Lexical morphology is a low priorty as that only includes replacement of current words with the new semantics.

Components

Schizospeak incorporates the following:

  1. Lexer : Tokenizes the input
  2. Parser : Converts the Tokenized input into a valid AST
  3. Interpreter : Uses the AST to return a Runtime value

Usage

The syntax of the language is mostly inspired by JavaScript with hints of Python and C.

Expressions

Expressions in Schizospeak incorporate Assignment, Binary, Call, and Member expressions. These expressions are a subset of statements and the hierarchy follows like so:

Expressions
|   Assignment Expressions
    |   Member Expressions
    |   Object Expressions
    | Call Expressions
        |   Binary Expressions

Assignment Expressions

Assignment expressions include all expressions. This means that an assignment expression can is recursive and only works if both lhs and rhs are of the same types, otherwise results in null. The following are valid assignment expressions:

x = (4 >= 2) && (3 % 1)
y = obj[23 / 4 % 6]
z = foo(obj.y - bar(foo(4 / y)))()
w = v = 4

The following is an invalid assignment expression:

x = (4 >= 2) && (3 % 1) + 6  # result: null
x = 3 &&                     # error

Binary Expressions

Binary expressions include both numeric operators and boolean operators. Here are a few valid binary expressions:

x != 1
x == 1
x && 1         # result: true if x == 1 else false
true == false  # result: false
true != false  # result: true

Call Expressions

Member Expressions

Declarations

Declarations encompass variable, function, if, and for declarations. All declarations are subtypes of statements and include a specific keyword. The heirarchy is constant across all types:

Declarations
    |   Variable Declaration
    |   Function Declaration
    |   If Declaration
    |   For Declaration

Variable Declaration

There are two variable declaration keywords: let and const, where let allows re-assignment of assigned identifier and const does not. Note that both keywords disallow re-assignments involving the same keywords.

The following are all valid declarations:

let x = (obj.x + foo(12)) % 4;
let y = (12 / 4) * 3 % 7;
const z = -foo(obj.x);

The following are invalid declarations:

let x = 3;
let x = 4;
const y = 4;
y = 7;

Function Declaration

fn keyword allows declaration of functions. The functions arguments support both args and kwargs. There is no return keyword-- typing out var at the end of the function works just the same as return "var".

Functions can also be returned by other functions:

fn makeAdder(offset) {
    fn add(x, y) {
        x + y + offset
    }

    add
}

If Declaration

The if keyword allows declaration of if-statements.

if (x > 4) {
    \\ do this if x > 4
} else if (x < 2) {
    \\ do this is x < 2
} else {
    \\ else do this
}

For Declaration

The for keyword allows for for-statement declarations. The statement requires the following:

  • initialization: typically a variable instantiation using the let keyword. Note that the initialization supports any type of variable instantiation (int, bool, float, etc.).
  • condition: typically a boolean expression
  • step: a binary expression, including but not limited to all boolean and integer expressions.

Remark: The condition check is performed before the execution of the body.

The following declarations are valid:

for (let i = 0; i<10; i=i+1) {
    print(i)
}

for (let x = true; x != true; x = !x) {
    print("This doesn't run!")
}

Identifier

Identifiers are strings that have special use (variables, native functions). Identifiers starting with numbers or including special characters ($,%,*,(,),{,},[,]) are invalid.

Literals

Numeric Literal

Classic numerals.

String Literal

Classic strings.

Object Literal

An object literal can be created by using the {} parentheses and supports three types of input:

  1. {key}
  2. {key: value}
  3. {key,}

Note that objects are self-recursive, therefore one can use objects in place of values as well.