# ReScript

> A robustly typed language that compiles to efficient, human-readable JavaScript

Source: https://talira.ai/catalog/rescript-96qhyjs3
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Programming language
- Categories: [developer tools / programming languages](https://talira.ai/categories/developer-tools/programming-languages), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Platforms: linux, macos, windows[^3]
- Licence: LGPL-3.0-or-later AND MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Typing: Static[^4]
- Runs as: Transpiled[^5]
- Package registries: npm[^4]
- Latest release: 12.3.1 (24 Aug 2026)[^6]

ReScript is a strongly typed language that compiles to clean, efficient, human-readable [JavaScript](https://talira.ai/catalog/javascript-jwpzc8t6.md) that runs in browsers and Node.js. Its sound type system is deliberately a simple subset: a value not marked nullable is never undefined, types are inferred so annotations are optional, and the type system behaves the same in every project with no configuration. Its compiler and build system are among the fastest for JavaScript development, and the output is optimized for JIT engines and tiny (a hello world is 20 bytes), with standard library pieces included only when used. It interoperates both ways with JavaScript and TypeScript (including generating TypeScript types), works with existing package managers, bundlers, frameworks and test runners, has pattern matching and React JSX support, and is installed from npm. The compiler is LGPL-3.0-or-later and the runtime, standard libraries, syntax tools and build tool are MIT.

## Links

- Website: https://rescript-lang.org/
- GitHub: https://github.com/rescript-lang/rescript
- Docs: https://rescript-lang.org/docs/manual/introduction

## Libraries for JavaScript and TypeScript

- [Firecrawl](https://talira.ai/catalog/firecrawl-zw5mry51.md)
- [LiveKit](https://talira.ai/catalog/livekit-yb2jg2h6.md)
- [Cypress](https://talira.ai/catalog/cypress-93d46axc.md)
- [Playwright](https://talira.ai/catalog/playwright-r7fvkefh.md)
- [Next.js](https://talira.ai/catalog/next-js-2chrxyc7.md)
- [Pulumi](https://talira.ai/catalog/pulumi-xjfn5qgh.md)
- [Convex](https://talira.ai/catalog/convex-cd5s9zbk.md)
- [Temporal](https://talira.ai/catalog/temporal-0kdqtk1c.md)
- [Weights & Biases](https://talira.ai/catalog/weights-biases-z42j1638.md)
- [Protocol Buffers](https://talira.ai/catalog/protocol-buffers-6w9h1xsc.md)
- [Composio](https://talira.ai/catalog/composio-asn76qgr.md)
- [Better Auth](https://talira.ai/catalog/better-auth-0xw03bw4.md)
- [Remotion](https://talira.ai/catalog/remotion-v1pebaqb.md)
- [Puppeteer](https://talira.ai/catalog/puppeteer-vbv4zakx.md)
- [Tabler](https://talira.ai/catalog/tabler-a110y6hx.md)
- [CodeMirror](https://talira.ai/catalog/codemirror-xq0nfkkw.md)
- [ProseMirror](https://talira.ai/catalog/prosemirror-evqa3tbb.md)
- [core-js](https://talira.ai/catalog/core-js-k1vh0jgg.md)
- [Inngest](https://talira.ai/catalog/inngest-40whharz.md)
- [Claude Agent SDK](https://talira.ai/catalog/claude-agent-sdk-1jtrb74b.md)
- [webpack](https://talira.ai/catalog/webpack-9pcx44tb.md)
- [LiveKit Agents](https://talira.ai/catalog/livekit-agents-p6xgcw3j.md)
- [Agent Development Kit (ADK)](https://talira.ai/catalog/agent-development-kit-adk-9g8qsz18.md)
- [Open Policy Agent](https://talira.ai/catalog/open-policy-agent-rerf6ac8.md)
- [Appium](https://talira.ai/catalog/appium-a5edza6s.md)
- [React](https://talira.ai/catalog/react-a48drvqv.md)
- [React Aria](https://talira.ai/catalog/react-aria-3gj4qdjz.md)
- [River](https://talira.ai/catalog/river-2vkec0fw.md)
- [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md)
- [AWS CDK](https://talira.ai/catalog/aws-cdk-3bpgxst7.md)
- [Evidence](https://talira.ai/catalog/evidence-dqgmvm8r.md)
- [Jest](https://talira.ai/catalog/jest-wp596gce.md)
- [Mocha](https://talira.ai/catalog/mocha-81yyxe95.md)
- [Capacitor](https://talira.ai/catalog/capacitor-n7hbh61t.md)
- [BullMQ](https://talira.ai/catalog/bullmq-1m3vaf3x.md)
- [PDF.js](https://talira.ai/catalog/pdf-js-ce376y3j.md)
- [Prettier](https://talira.ai/catalog/prettier-wqw3mymz.md)
- [Flyte](https://talira.ai/catalog/flyte-0ns6v9n5.md)
- [Redux](https://talira.ai/catalog/redux-c8rxkxfs.md)
- [Fabric.js](https://talira.ai/catalog/fabric-js-q1s2njt5.md)
- [NativeScript](https://talira.ai/catalog/nativescript-q70qdvvh.md)
- [DOMPurify](https://talira.ai/catalog/dompurify-tes35ecb.md)
- [VitePress](https://talira.ai/catalog/vitepress-f3h8kb6y.md)
- [SuperTokens](https://talira.ai/catalog/supertokens-gecz96cc.md)
- [React on Rails](https://talira.ai/catalog/react-on-rails-xxfb5g89.md)
- [PGlite](https://talira.ai/catalog/pglite-4epkf2qr.md)
- [Cerbos](https://talira.ai/catalog/cerbos-830ttkxr.md)
- [Yjs](https://talira.ai/catalog/yjs-0t5yzxzh.md)
- [Vendure](https://talira.ai/catalog/vendure-rm2kxjnz.md)
- [Radar](https://talira.ai/catalog/radar-qsp3jh0g.md)

Browse all of them: [369 libraries](https://talira.ai/catalog?type=library&language=javascript), [92 frameworks](https://talira.ai/catalog?type=framework&language=javascript), [396 APIs](https://talira.ai/catalog?type=api&language=javascript).

## Problems it solves

- a typed language for the web with a sound type system and no undefined errors
- compile to readable JavaScript that works with my existing npm packages and bundler
- a faster compiler than TypeScript for a large frontend codebase
- write React components in a strongly typed functional language
- gradually adopt a stricter typed language inside an existing JavaScript project

## Features

- sound static type system with inference
- compiles to readable, optimized JavaScript
- fast compiler and build system
- JavaScript and TypeScript interop, TypeScript type generation
- pattern matching
- React JSX support
- tiny output with tree-shaken standard library

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.20 out of 1.
Signals: backing 0.00, extensibility 0.20.

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md): JavaScript with static types, compiled to plain JavaScript
- [Elm](https://talira.ai/catalog/elm-kcaweseq.md): A delightful language for reliable webapps
- [Roc](https://talira.ai/catalog/roc-dma7r10x.md): A fast, friendly, functional language
- [Crystal](https://talira.ai/catalog/crystal-nk6zm40w.md): A language for humans and computers
- [V](https://talira.ai/catalog/v-zt6x1jc9.md): Simple, fast, safe, compiled. For developing maintainable software
- [OCaml](https://talira.ai/catalog/ocaml-r6d5qbvf.md): An industrial-strength functional programming language with an emphasis on expressiveness and safety

## Sources

[^1]: https://github.com/rescript-lang/rescript/blob/master/LICENSE (checked 23 Nov 2026)
[^2]: https://github.com/rescript-lang/rescript (checked 23 Nov 2026)
[^3]: https://www.npmjs.com/package/rescript (checked 23 Nov 2026)
[^4]: https://rescript-lang.org/ (checked 23 Nov 2026)
[^5]: https://rescript-lang.org/docs/manual/introduction (checked 23 Nov 2026)
[^6]: https://github.com/rescript-lang/rescript/releases/tag/v12.3.1 (checked 23 Nov 2026)
