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

scala-script

v0.7.13

Published

Programming language that is mixed Scala and TypeScript's features

Readme

Welcome to ScalaScript

What is ScalaScript

ScalaScript is new programming language that combined data type of TypeScript with some grammars of Scala.

To be honestly, for now, I think it's right that the proper name of ScalaScript is Scala-tic typescript. ^^

If you know and like both of Scala and TypeScript, you might also like ScalaScript because ScalaScript is mixed of favorite things from both languages.

Here's simple sample code of ScalaScript. With this code, you can quickly figure out what kind of language ScalaScript is.

val greeting = 'hello world'
// The two codes below are the same and are both available in ScalaScript.
if not greeting console log greeting
if (!greeting) console.log(greeitng)

val matchTest = (x: number) -> string => x match {
  case 1 => return "one"
  case 2 => return "two"
  case _ => return "other"
}
val result = matchTest(1)

// Repeat the process of adding all the values of the array 10 times
var sum = 0
val arr = [1, 2, 3]
for (i <- 1 to 10; j <- arr) {
  sum += j
}

For more infomation about ScalaScript, you can visit This site (It's written by Korean)

Anyway ScalaScript is transpiler which is transpiled to TypeScript. It means that you can get the TypeScript code when you code with ScalaScript.

If you want to do that, you need to download ScalaScript CLI by follow command

npm i --save-dev scala-script

and add script in package.json

"scripts": {
"transpile": "ssc generate src/*.ss -d src"
}

and then run script

npm run transpile

This project is based on the Langium and provided you the insigt of creating your DSL with using the Langium

Last but not least, ScalaScript is NOT complete, it's been developing right now... I always welcome your advice and any kind of help.

Thank you

Where you can get the resouces about ScalaScript

ScalaScript Grammar

If you are curious about this language, I am very sorry that I did not prepare the appropriate documents in advance.

I have a development blog in Korean, but I don't have an official grammar manual in English yet.

I'll get it ready as soon as possible.

ScalaScript Develop blog

This site is about how I am developing the ScalaScript language in detail. But It's written by Korean language. if you know Korean, this site is very useful to get insight and informations about ScalaScript and Langium

Langium offical site

Documentation about the Langium framework is available at https://langium.org