Fable.Compiler 5.0.0-alpha.13

This is a prerelease version of Fable.Compiler.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Fable.Compiler --version 5.0.0-alpha.13
                    
NuGet\Install-Package Fable.Compiler -Version 5.0.0-alpha.13
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fable.Compiler" Version="5.0.0-alpha.13" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fable.Compiler" Version="5.0.0-alpha.13" />
                    
Directory.Packages.props
<PackageReference Include="Fable.Compiler" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fable.Compiler --version 5.0.0-alpha.13
                    
#r "nuget: Fable.Compiler, 5.0.0-alpha.13"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fable.Compiler@5.0.0-alpha.13
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fable.Compiler&version=5.0.0-alpha.13&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fable.Compiler&version=5.0.0-alpha.13&prerelease
                    
Install as a Cake Tool

Fable: F# |> JS

Nuget Build Join the chat at https://gitter.im/fable-compiler/Fable

Follow us on Twitter!

Fable is an F# to JavaScript compiler powered FSharp Compiler Services, designed to make F# a first-class citizen of the JavaScript ecosystem. Check the website for more information and if you find the project useful, don't forget to give us a star!

Fable actually uses a fork of FCS with a few tweaks. Binaries are in lib/fcs folder. See this PR for more info.

Getting started

Check this page.

Building

Requirements

Use VSCode Dev Container

You can use VSCode Dev Container to get a preconfigured environment both with requirements and VSCode extensions.

  1. You need to have docker installed and running.
  2. Install the Dev Container extension in VSCode
  3. Open the project in VSCode and click on the green button in the bottom left corner.
Use your machine

Make sure the following requirements are installed in your system:

Build

Run ./build.sh or ./build.cmd to see the build options.

When using VSCode, you can also run the build tasks from the command palette (Ctrl+Shift+P) by typing Run Task and selecting the task you want to run.

We also configured several debug configurations that you can use from the debug panel (Ctrl+Shift+D). This is useful as you can attach the debugger to the Fable compiler process to check what's going on.

Contributing

Just by using Fable you're already contributing! You can help the community a lot by sharing examples and experiences in your personal (or Fable's) blog and/or by editing the Fable Resources page.

Send bug reports (ideally with minimal code to reproduce the problem) and feature requests to this GitHub repository. To interact with the community you can use the Gitter chat but please note maintainers are not checking the chat regularly.

If you are up to contribute a fix or a feature yourself, you're more than welcome! Please send first an issue or a minimal Work In Progess PR so we can discuss the implementation details in advance.

List of changelogs

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Fable.Compiler:

Package Downloads
Fable.Plugins.NUnit

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0-alpha.21 59 12/26/2025
5.0.0-alpha.20 198 12/15/2025
5.0.0-alpha.19 365 12/8/2025
5.0.0-alpha.18 151 12/4/2025
5.0.0-alpha.17 622 12/3/2025
5.0.0-alpha.16 131 11/27/2025
5.0.0-alpha.15 358 11/19/2025
5.0.0-alpha.14 365 7/25/2025
5.0.0-alpha.13 1,100 5/4/2025
5.0.0-alpha.12 128 3/14/2025
5.0.0-alpha.11 233 3/3/2025
5.0.0-alpha.10 138 2/16/2025
5.0.0-alpha.9 500 1/28/2025
5.0.0-alpha.8 142 1/27/2025
5.0.0-alpha.7 146 1/23/2025
5.0.0-alpha.6 137 1/23/2025
5.0.0-alpha.5 118 1/9/2025
5.0.0-alpha.4 170 1/3/2025
5.0.0-alpha.3 144 12/18/2024
5.0.0-alpha.2 643 11/26/2024
5.0.0-alpha.1 131 11/24/2024
4.0.0-alpha-019 173 11/25/2025
4.0.0-alpha-018 175 7/14/2025
4.0.0-alpha-017 187 4/26/2025
4.0.0-alpha-016 180 11/19/2024
4.0.0-alpha-015 240 10/28/2024
4.0.0-alpha-014 196 10/2/2024
4.0.0-alpha-013 197 9/19/2024
4.0.0-alpha-012 182 6/17/2024
4.0.0-alpha-011 860 6/13/2024
4.0.0-alpha-010 184 6/10/2024
4.0.0-alpha-009 211 5/24/2024
4.0.0-alpha-008 849 2/27/2024
4.0.0-alpha-007 270 2/20/2024
4.0.0-alpha-006 199 2/13/2024
4.0.0-alpha-005 310 2/12/2024
4.0.0-alpha-004 219 1/30/2024
4.0.0-alpha-003 183 1/30/2024
4.0.0-alpha-002 153 1/25/2024
4.0.0-alpha-001 216 12/14/2023
1.3.18 13,377 9/3/2018
1.3.17 9,131 5/10/2018
1.3.16 2,446 5/5/2018
1.3.15 10,162 4/19/2018
1.3.14 5,259 3/30/2018
1.3.12 2,486 3/22/2018
1.3.11 3,376 3/8/2018
1.3.10 3,973 3/1/2018
1.3.9 2,261 3/1/2018
1.3.8 7,156 1/23/2018
1.3.7 3,327 12/21/2017
1.3.6 2,729 12/14/2017
1.3.5 2,245 12/13/2017
1.3.4 2,756 11/29/2017
1.3.3 3,128 11/27/2017
1.3.2 3,033 11/23/2017
1.3.1 2,152 11/21/2017
1.3.0 2,191 11/15/2017
1.3.0-beta-009 1,414 11/15/2017
1.3.0-beta-008 1,352 11/14/2017
1.3.0-beta-007 1,424 11/10/2017
1.3.0-beta-006 1,434 10/27/2017
1.3.0-beta-003 1,739 10/26/2017
1.3.0-beta-002 1,530 10/19/2017
1.3.0-beta-001 1,627 9/29/2017
1.2.4 6,456 9/27/2017
1.2.3 2,813 9/18/2017
1.2.2 2,056 9/18/2017
1.2.1 3,459 9/10/2017
1.2.0 3,368 9/6/2017
1.2.0-beta-0015 1,790 8/31/2017
1.2.0-beta-0014 1,537 8/30/2017
1.2.0-beta-0012 1,491 8/28/2017
1.2.0-beta-001 1,795 8/23/2017
1.1.23 1,975 9/5/2017
1.1.22 2,136 8/22/2017
1.1.21 1,842 8/22/2017
1.1.20 2,403 8/8/2017
1.1.19 2,150 7/31/2017
1.1.18 2,014 7/27/2017
1.1.17 2,548 7/24/2017
1.1.16 1,945 7/22/2017
1.1.15 1,911 7/22/2017
1.1.14 1,993 7/18/2017
1.1.12 1,948 7/17/2017
1.1.11 2,285 7/13/2017
1.1.10 1,706 7/12/2017
1.1.9 2,085 7/11/2017
1.1.8 1,947 7/8/2017
1.1.7 2,203 7/5/2017
1.1.6 2,060 7/4/2017
1.1.5 1,853 6/28/2017
1.1.4 1,959 6/24/2017
1.1.3 2,008 6/20/2017
1.1.2 2,034 6/20/2017
1.1.1 2,010 6/19/2017
1.1.0 2,001 6/15/2017
1.1.0-rc-002 1,436 6/12/2017
1.1.0-rc-001 1,437 6/10/2017
1.0.14 1,973 6/14/2017
1.0.12 1,872 6/14/2017
1.0.11 1,951 6/13/2017
1.0.10 1,943 6/13/2017
1.0.9 1,876 6/13/2017
1.0.8 2,780 6/2/2017
1.0.7 2,102 5/27/2017
1.0.6 2,447 5/24/2017
1.0.5 1,886 5/24/2017
1.0.4 2,735 5/17/2017
1.0.3 1,862 5/17/2017
1.0.2 1,870 5/17/2017
1.0.1 1,900 5/17/2017
1.0.0-narumi-921 1,335 5/17/2017
1.0.0-narumi-920 1,466 5/16/2017
1.0.0-narumi-918 1,343 5/16/2017
1.0.0-narumi-917 1,535 5/16/2017
1.0.0-narumi-916 1,435 5/15/2017
1.0.0-narumi-915 1,609 5/9/2017
1.0.0-narumi-914 2,027 4/24/2017
1.0.0-narumi-912 1,521 4/23/2017
1.0.0-narumi-911 1,472 4/19/2017
1.0.0-narumi-910 1,418 4/19/2017
1.0.0-narumi-909 1,502 4/14/2017
1.0.0-narumi-908 1,796 4/2/2017
1.0.0-narumi-906 1,628 3/29/2017
1.0.0-narumi-905 1,419 3/27/2017
1.0.0-narumi-904 1,467 3/25/2017
1.0.0-narumi-903 1,529 3/23/2017
1.0.0-narumi-9 1,445 3/17/2017
1.0.0-narumi-8 1,499 3/15/2017
1.0.0-narumi-7 1,397 3/14/2017
1.0.0-narumi-6 1,442 3/14/2017
1.0.0-narumi-5 1,511 3/13/2017
1.0.0-narumi-4 1,355 3/13/2017
1.0.0-narumi-3 1,632 3/10/2017
1.0.0-narumi-2 1,339 3/10/2017
1.0.0-narumi-15 1,665 3/22/2017
1.0.0-narumi-10 1,547 3/20/2017
1.0.0-narumi-1 1,792 3/10/2017

### Fixed

* [Python] Fixed testing with interfaces leads to incorrect pattern match (#3972) (by @dbrattli)
* [Python] Fixed error when type contains multiple generic type parameters (#3986) (by @dbrattli)
* [Python] Fixed import path handling for libraries (#4088) (by @dbrattli)
* [Python] Reenable type aliasing for imports with name "*" (by @freymauer)
* [JS/TS] Optimise JSX output in order to avoid F# list CEs to surface in it (by @MangelMaxime)

### Removed

* [All] Remove unused `Fable.Core` copy types from internal module (by @MangelMaxime)