Skip to content
PluginStats

rooklang weekly downloads statistics

By QWERN-9876r · npm · Webpack plugins

A language with JavaScript semantics, Go-style syntax, goroutines on real threads and static types that compiles to readable JavaScript

View on npm Fresh · Dec 6, 2026

rooklang has 366 recorded weekly downloads on npm, a decrease of 40.4% over the past 30 days, ranking #2332 of 3,247 tracked listings.

Weekly downloads
366
Official API · Dec 5, 2026
7-day growth
0.0%
0 weekly downloads
30-day growth
-40.4%
-248 weekly downloads
90-day growth
—
Insufficient history
Rank
#2332
Among tracked npm listings

About rooklang

Rook

English · Русский

A language with the semantics of JavaScript, Go-style syntax, goroutines on real threads and static types. It compiles to readable JavaScript with a small runtime library for channels, goroutines and markup (WebAssembly is planned).

async func square(jobs <-chan number, results chan<- number) {
    for n in jobs {
        results <- n * n
    }
}

const jobs = chan<number>(10)
const results = chan<number>()
go square(jobs, results)            // another thread, at once with the rest
go square(jobs, results)

for let n = 1; n <= 4; n++ {
    jobs <- n
}
close(jobs)
for let i = 0; i < 4; i++ {
    console.log(<-results)
}
close(results)
  • Goroutines and channels. go f(x) runs a function as a goroutine, on another processor, and channels, select, after, tick and cancel work as in Go, and signals and AbortSignal are channels too, signal("SIGTERM") and done(request.signal); go for i, v in pixels { ... } splits an array among the processors. The compiler checks that what goes to another thread can be copied there, and warns of a channel that is never closed; an instance of a data class goes with its class and methods.

  • Shared structures. Pass a named struct to go and goroutines update the same typed data. The caller sees changes through its original reference. Use rwMutex to keep related writes and reads consistent. Try the import progress demo.

  • Topics between tabs. topic<CartEvent>("cart") passes values between the tabs of a site over a BroadcastChannel: cart <- e sends and waits for nobody, for e in cart receives what the other tabs send. Channel and Topic have what channels and topics compile to, by name, and their closed zero values, Channel.EMPTY and Topic.EMPTY.

  • Go syntax. func, the type after the name, several results, errors as a second value (try JSON.parse(text) makes what JS throws one), defer, a single for loop:

    func divide(a, b number) (number, error) {
        if b == 0 {
            return 0, error("division by zero")
        }
        return a / b, null
    }
    
  • Static types with null safety. A ?User cannot be used without a check, decode<User>(body) checks JSON from outside against the type when the program runs, and make(User) is the value of the type, which the compiler computes: no type is left in the JS.

  • JavaScript inside. The same values, classes and modules, any JS library; markup creates real DOM elements, and components are compiled away.

The guide with examples and a playground: https://rooklang.tech/. Language reference. Specification: docs/spec.md, design of components: docs/components.md, structures and shared memory, and a sample program. Where Rook stands and the road to 1.0: docs/roadmap.md; what changed in each version: CHANGELOG.md.

See the 1.x compatibility contract and how to upgrade from 0.8.0.

Installation

Rook needs Node.js ≥ 24 or Bun.

npm install rooklang
npx rook init my-app                 # scaffold a Vite, Vitest and VS Code project
npx rook fmt src                     # format Rook sources
npx rook fmt --check src             # check formatting in CI
npx rook build app.rk                # app.js next to the source
npx rook build src --out-dir dist       # every module of a folder
npx rook check src                    # check a directory and its imports for CI
npx rook run app.rk                  # compile and run
npx rook run --watch app.rk          # and again when a file of it changes

To start in an empty directory, run npx --package rooklang rook init there. When using npm run rook -- init from a subdirectory of this repository, the target is that subdirectory. In the generated project, run npm install, then npm run dev or npm run build for a Vite production build in dist/.

Prettier can format .rk files with the Rook parser. Install Prettier in the project:

npm install --save-dev prettier

Then add the plugin to its config:

{ "plugins": ["rooklang/prettier"] }

Then run npx prettier --write "src/**/*.rk". The plugin follows the package's markup setting and Prettier's indentation and quote options.

The compiled code imports what channels, goroutines and markup need from rooklang/runtime, so the package is a dependency of the project, not only of its build.

The compiler uses TypeScript's declarations for the standard library and DOM by default.

From code, the compiler is import { compile } from 'rooklang'. The package also has the Vite plugin, rooklang/vite, the Bun plugin, rooklang/bun, and rooklang/browser, the compiler without the TypeScript compiler for running in a browser, as in the site's playground: there imports are not type checked.

Development

Node.js ≥ 24 (nvm use). The compiler is written in TypeScript, and Node runs the .ts files directly, so development needs no build step: the commands below run the compiler from src/. dist/ is built only for the npm package.

npm install also installs a pre-commit hook that formats the staged files: ESLint adds the blank lines between statements that Prettier keeps but never adds, then Prettier formats. Only the staged version is formatted, so edits that are not staged stay out of the commit.

Commands…

Description from the npm listing.

  • rooklang
  • programming-language
  • compiler
  • javascript
  • static-typing
  • go
  • goroutines
  • channels
  • concurrency
  • web-workers
  • vite-plugin
  • webpack-plugin
  • web-components

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

rooklang weekly downloads on npm, last 90 days: 366 weekly downloads as of Dec 5, 2026.rooklangWeekly downloads on npm · Last 90 days366downloads / week02004006008001KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
rooklang weekly downloads on npm, last 90 days: 366 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

rooklang weekly downloads growth on npm: 0.0% over 7 days, -40.4% over 30 days, 90-day growth unavailable.rooklangWeekly downloads growth on npm366downloads / week now7-day growth+0 weekly downloads0.0%30-day growth-248 weekly downloads-40.4%90-day growth+366 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
rooklang weekly downloads growth on npm: 0.0% over 7 days, -40.4% over 30 days, 90-day growth unavailable.

Ranking history

rooklang npm ranking history: currently #2332 (by weekly downloads).rooklangnpm ranking · by weekly downloads · Last 90 days#2332current rank#1600#1700#1800#1900#2000#2100#2200#2300#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankDec 4, 2026 – Dec 6, 2026 · 3 observations · Updated Dec 5, 2026pluginstats.com
rooklang npm ranking history: currently #2332 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 117, #12 (overall #2,332)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 6, #12 (overall #112)
Webpack plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (121)
Recent weekly downloads observations for rooklang
Date (UTC)Weekly downloadsChange vs. previous
366-135
501+2
499+144
355-51
406+12
394+4
390+24
366+159
207+1
206+16
190+23
167-15
182-3
185—

Similar npm Webpack plugins plugins

All 20 rooklang alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/rooklang. First seen Dec 4, 2026; last successful collection Dec 6, 2026. See the methodology.