Rescript
ReScript is a strongly typed programming language that compiles to clean, efficient JavaScript. It is designed to be readable by both humans and AI tools, providing a fast compiler and static type system for building JavaScript, Node, and React applications.

Key facts
What is Rescript?
A robustly typed language that compiles to readable JavaScript without the fear of 'any' types, enabling fast feedback loops for both human and AI-assisted development.
Who is Rescript best for?
Developers building JavaScript, Node, and React applications who want type safety and fast compilation.
Key features
- ✓Fastest build system on the web with consistent and fast feedback loops for any codebase size
- ✓Robust type system with no `any`, no magic types, and no surprise `undefined`
- ✓Seamless integration with the JavaScript ecosystem – use any JS library, export to JS, and auto-generate TypeScript types
- ✓Built-in pretty printer and memory-friendly VSCode & Vim plugins
- ✓Stable compiler requiring minimal configuration
- ✓Gradual adoption – can be introduced incrementally and removed without lock-in
Use cases
- →Building reliable React applications with first-class bindings
- →Developing Node.js applications targeting the Node platform
- →Gradually introducing type safety into existing JavaScript codebases
- →Integrating with existing TypeScript codebases using automatic type generation
- →Creating clean JavaScript output that is easy for AI tools to read and understand
Pros
- +Fast compilation and feedback loop even for large codebases
- +Simple, clear types that are easy to debug
- +No lock-in – can revert to plain JavaScript at any time
Positioning
- Core value: A robustly typed language that compiles to readable JavaScript without the fear of 'any' types, enabling fast feedback loops for both human and AI-assisted development.
- Ideal for: Developers building JavaScript, Node, and React applications who want type safety and fast compilation.
- Product type: npm package and compiler
Frequently asked questions
What is ReScript?
ReScript is a strongly typed language that compiles to clean, efficient JavaScript. It is designed for both humans and AI tools to read and understand.
How do I install ReScript?
You can install ReScript via npm or yarn: `npm install rescript`. Or generate a new project with `npx create-rescript-app`.
Can I use ReScript with React?
Yes, ReScript provides first-class bindings for ReactJS that are used by production users worldwide.
How do I integrate ReScript with existing JavaScript or TypeScript projects?
ReScript supports gradual adoption. You can start by adding ReScript files alongside your existing code. It also automatically generates TypeScript types for seamless integration.
Is ReScript open source?
ReScript is a project with a community and is available on GitHub. The website does not explicitly state 'open source', but the source code is publicly accessible via the GitHub link.
What tools are available for ReScript development?
ReScript includes a built-in pretty printer, memory-friendly plugins for VSCode and Vim, and a stable compiler that requires little configuration.
You may also like
Curated suggestions based on similar categories.
superfile
Superfile is an open-source terminal file manager built with Go and Bubble Tea, offering a polished UI and complete file operations for developers who work in the terminal.
HeyZoku
HeyZoku is a native macOS app that lets developers orchestrate multiple coding-agent CLIs (like Claude Code, Codex, Cursor, and Pi) side by side on a single canvas, controlled entirely by voice. It runs the CLIs already on your machine using your existing subscriptions, with on-device voice transcription for privacy and unlimited use. A one-time purchase grants lifetime updates, no subscription, and the ability to spawn, redirect, and interrupt agents by name.
AgentAccessDK
AgentAccess is an open-source, community-driven directory of machine-accessible interfaces (APIs, CLIs, MCPs, browser automation) for Danish digital systems, serving as the infrastructure layer for AI agents connecting to Denmark.
Redential
Redential is a credentialing platform for AI-native developers to prove their skills by connecting private repos, detecting capabilities, and defending them through live defenses. It creates a public profile based on shipped work rather than a CV or degree.
Grok Build Open Source
Grok Build is an open-source agent harness and terminal interface built in Rust (Apache-2.0) that coordinates repository context, tools, model reasoning, edits, review, and approval. Its public repository allows developers to inspect, build from source, and extend the coding-agent workflow.
Typer
Typer is a library for building CLI applications based on Python type hints. It is easy to code and use, with automatic help and completion for all shells. It also includes a command line tool to run scripts, automatically converting them to CLI applications.