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

@nathan123!/gooberscript-compiler

v1.0.0

Published

The GooberScript toolchain (Compiler, Lexer, Parser, Transpiler) for ES2020 JavaScript.

Downloads

15

Readme

🥳 GooberScript Toolchain

GooberScript is an enthusiastic new language that transpiles directly to clean ES2020 JavaScript. This repository contains the complete, self-contained compiler (goobc.js).

Quick Start (CDN Integration)

For immediate use in environments like CodeHS, load the compiler directly via jsDelivr. Since goobc.js is self-contained and exposes the global Goobc object, you are ready to compile immediately.

  1. Include the Compiler:
  1. Use the Compiler API:

// Example GooberScript Code const gooberSource = ` dear goober; heck name isexactly "World" ya;

goober greet() { yippee; holler("Hello, " + name + "!"); ya; } ya;

greet(); ya;

thanks, goober; `;

// Compile and Execute const { js, errors } = Goobc.compile(gooberSource);

if (errors && errors.length > 0) { console.error("GooberScript Compilation Failed:", errors); } else { // Execution (Run the resulting JavaScript) console.log("--- Transpiled JS ---"); console.log(js); console.log("--- Execution Output ---"); try { new Function(js)(); } catch (e) { console.error("Runtime Error:", e); } }

🛠️ Deployment Instructions (Mac/Terminal)

Follow these steps to deploy your own version of the GooberScript toolchain to NPM and make it available on jsDelivr.

Step 1: Initialize Project

In your macOS Terminal:

Create and enter the project directory

mkdir gooberscript-repo cd gooberscript-repo

Initialize NPM

npm init -y

Step 2: Create Files

Save the content of goobc.js and package.json into the root of the gooberscript-repo directory.

Step 3: Publish to NPM

Before publishing, ensure you are logged into NPM (npm login).

This publishes your package and makes it available globally

npm publish --access public

Step 4: CDN Availability

Once published, your package is immediately mirrored by jsDelivr. The URL for CodeHS/web usage will be:

https://cdn.jsdelivr.net/npm/@nathan123!/gooberscript-compiler@/goobc.js

(Replace with your published version, e.g., 1.0.0).

GooberScript Language Reference

GooberScript Token

JS Equivalent

Rule / Notes

dear goober; / thanks, goober;

// Start / // End

MANDATORY File Delimiters.

ya;

;

MANDATORY Statement Terminator.

yippee;

// Check Pass

MANDATORY once per function body (GBR004).

goober

var

Function-scoped variable.

heck

let

Block-scoped variable.

nochange

const

Block-scoped constant (must be initialized).

whatif

if

Conditional flow.

otherwise whatif

else if

Chained conditional.

otherwise

else

Else block.

loopity

while

While loop.

gimme

return

Returns a value.

heckyeah

break

Exits loop.

nah

continue

Skips current loop iteration.

holler

console.log

Standard output.

nada

null

Null value.

andwhat

&&

Logical AND.

orelse

`

nuhuh!

!

Logical NOT.

isexactly

===

Strict equality.

iskinda

==

Loose equality.

aint

!==

Strict inequality.

x goUp ya;

x++;

Increment.

x goDown ya;

x--;

Decrement.

//goob / /*goob

// / /* */

Goober comments only.