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

@ascent-lang/dev

v0.20.0

Published

The Ascent teaching language: CLI and interpreter for running and embedding .asc programs.

Downloads

3,420

Readme

Ascent: The Teaching Language

Ascent is a programming language built to teach programming to complete beginners. The goal is to do it clearly, gently, and from the ground up.

⚠️ Experimental

@ascent-lang/dev is an experimental package intended for rapid development and language exploration.

During this phase, the language syntax, parser, interpreter, APIs, and project structure may change frequently between releases. Breaking changes may occur at any time, and version numbers should not be interpreted as indicators of API stability.

This package is primarily intended for:

  • experimenting with new language features,
  • testing language design ideas,
  • early adopters interested in following development.

Once the language and architecture mature, functionality will be split into dedicated packages such as @ascent-lang/parser, @ascent-lang/interpreter, and @ascent-lang/core, which will follow a more stable versioning and compatibility policy.

Until then, expect frequent changes and be prepared to update your code when upgrading to newer releases.

Installation

npm install -g @ascent-lang/dev

Or run it once without installing:

npx @ascent-lang/dev path/to/program.asc

Using the CLI

Run a .asc file:

ascent program.asc

If the program declares args, pass them as flags:

ascent program.asc --name Ada --score 95

Start the interactive REPL by running ascent with no file:

ascent

Using it as a library

The individual pipeline stages are exported from the package entry point, so you can lex, parse, type-check, and interpret Ascent source from your own tooling:

import { parse, executeProgram } from '@ascent-lang/dev';

const { program } = parse('1 + 2');
const result = executeProgram(program);

console.log(result); // { type: 'Int', value: 3n }

executeProgram creates its own Environment. If the program declares args, build a ProgramInputs from that program's args and pass it as the second argument. ProgramInputs.set rejects a name that isn't one of the program's declared args, or a value that doesn't match that arg's declared type:

import { parse, executeProgram, ProgramInputs } from '@ascent-lang/dev';

const { program } = parse('args (name: String); name');
const inputs = new ProgramInputs(program.args).set('name', { type: 'String', value: 'Ada' });
const result = executeProgram(program, inputs);