Fable.Compiler 4.0.0-alpha-004

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 4.0.0-alpha-004
                    
NuGet\Install-Package Fable.Compiler -Version 4.0.0-alpha-004
                    
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="4.0.0-alpha-004" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fable.Compiler" Version="4.0.0-alpha-004" />
                    
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 4.0.0-alpha-004
                    
#r "nuget: Fable.Compiler, 4.0.0-alpha-004"
                    
#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.
#addin nuget:?package=Fable.Compiler&version=4.0.0-alpha-004&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Fable.Compiler&version=4.0.0-alpha-004&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 ./builsh.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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.13 176 5/4/2025
5.0.0-alpha.12 72 3/14/2025
5.0.0-alpha.11 183 3/3/2025
5.0.0-alpha.10 97 2/16/2025
5.0.0-alpha.9 387 1/28/2025
5.0.0-alpha.8 93 1/27/2025
5.0.0-alpha.7 99 1/23/2025
5.0.0-alpha.6 81 1/23/2025
5.0.0-alpha.5 69 1/9/2025
5.0.0-alpha.4 114 1/3/2025
5.0.0-alpha.3 90 12/18/2024
5.0.0-alpha.2 525 11/26/2024
5.0.0-alpha.1 93 11/24/2024
4.0.0-alpha-017 116 4/26/2025
4.0.0-alpha-016 115 11/19/2024
4.0.0-alpha-015 172 10/28/2024
4.0.0-alpha-014 132 10/2/2024
4.0.0-alpha-013 134 9/19/2024
4.0.0-alpha-012 113 6/17/2024
4.0.0-alpha-011 317 6/13/2024
4.0.0-alpha-010 121 6/10/2024
4.0.0-alpha-009 143 5/24/2024
4.0.0-alpha-008 770 2/27/2024
4.0.0-alpha-007 195 2/20/2024
4.0.0-alpha-006 132 2/13/2024
4.0.0-alpha-005 235 2/12/2024
4.0.0-alpha-004 161 1/30/2024
4.0.0-alpha-003 118 1/30/2024
4.0.0-alpha-002 106 1/25/2024
4.0.0-alpha-001 158 12/14/2023
1.3.18 13,190 9/3/2018
1.3.17 8,817 5/10/2018
1.3.16 2,141 5/5/2018
1.3.15 9,423 4/19/2018
1.3.14 4,927 3/30/2018
1.3.12 2,200 3/22/2018
1.3.11 3,074 3/8/2018
1.3.10 3,657 3/1/2018
1.3.9 1,998 3/1/2018
1.3.8 6,845 1/23/2018
1.3.7 3,121 12/21/2017
1.3.6 2,438 12/14/2017
1.3.5 1,938 12/13/2017
1.3.4 2,531 11/29/2017
1.3.3 2,908 11/27/2017
1.3.2 2,792 11/23/2017
1.3.1 1,916 11/21/2017
1.3.0 1,982 11/15/2017
1.3.0-beta-009 1,183 11/15/2017
1.3.0-beta-008 1,153 11/14/2017
1.3.0-beta-007 1,182 11/10/2017
1.3.0-beta-006 1,218 10/27/2017
1.3.0-beta-003 1,258 10/26/2017
1.3.0-beta-002 1,319 10/19/2017
1.3.0-beta-001 1,397 9/29/2017
1.2.4 6,240 9/27/2017
1.2.3 2,610 9/18/2017
1.2.2 1,816 9/18/2017
1.2.1 3,244 9/10/2017
1.2.0 3,161 9/6/2017
1.2.0-beta-0015 1,549 8/31/2017
1.2.0-beta-0014 1,316 8/30/2017
1.2.0-beta-0012 1,275 8/28/2017
1.2.0-beta-001 1,567 8/23/2017
1.1.23 1,769 9/5/2017
1.1.22 1,897 8/22/2017
1.1.21 1,618 8/22/2017
1.1.20 2,165 8/8/2017
1.1.19 1,923 7/31/2017
1.1.18 1,771 7/27/2017
1.1.17 2,317 7/24/2017
1.1.16 1,748 7/22/2017
1.1.15 1,668 7/22/2017
1.1.14 1,776 7/18/2017
1.1.12 1,729 7/17/2017
1.1.11 2,063 7/13/2017
1.1.10 1,469 7/12/2017
1.1.9 1,867 7/11/2017
1.1.8 1,707 7/8/2017
1.1.7 1,981 7/5/2017
1.1.6 1,846 7/4/2017
1.1.5 1,653 6/28/2017
1.1.4 1,713 6/24/2017
1.1.3 1,807 6/20/2017
1.1.2 1,803 6/20/2017
1.1.1 1,791 6/19/2017
1.1.0 1,785 6/15/2017
1.1.0-rc-002 1,206 6/12/2017
1.1.0-rc-001 1,227 6/10/2017
1.0.14 1,744 6/14/2017
1.0.12 1,646 6/14/2017
1.0.11 1,723 6/13/2017
1.0.10 1,712 6/13/2017
1.0.9 1,680 6/13/2017
1.0.8 2,577 6/2/2017
1.0.7 1,883 5/27/2017
1.0.6 2,192 5/24/2017
1.0.5 1,667 5/24/2017
1.0.4 2,523 5/17/2017
1.0.3 1,640 5/17/2017
1.0.2 1,658 5/17/2017
1.0.1 1,694 5/17/2017
1.0.0-narumi-921 1,121 5/17/2017
1.0.0-narumi-920 1,234 5/16/2017
1.0.0-narumi-918 1,143 5/16/2017
1.0.0-narumi-917 1,314 5/16/2017
1.0.0-narumi-916 1,209 5/15/2017
1.0.0-narumi-915 1,394 5/9/2017
1.0.0-narumi-914 1,805 4/24/2017
1.0.0-narumi-912 1,285 4/23/2017
1.0.0-narumi-911 1,258 4/19/2017
1.0.0-narumi-910 1,218 4/19/2017
1.0.0-narumi-909 1,272 4/14/2017
1.0.0-narumi-908 1,561 4/2/2017
1.0.0-narumi-906 1,378 3/29/2017
1.0.0-narumi-905 1,193 3/27/2017
1.0.0-narumi-904 1,267 3/25/2017
1.0.0-narumi-903 1,287 3/23/2017
1.0.0-narumi-9 1,219 3/17/2017
1.0.0-narumi-8 1,266 3/15/2017
1.0.0-narumi-7 1,166 3/14/2017
1.0.0-narumi-6 1,218 3/14/2017
1.0.0-narumi-5 1,275 3/13/2017
1.0.0-narumi-4 1,142 3/13/2017
1.0.0-narumi-3 1,313 3/10/2017
1.0.0-narumi-2 1,139 3/10/2017
1.0.0-narumi-15 1,435 3/22/2017
1.0.0-narumi-10 1,318 3/20/2017
1.0.0-narumi-1 1,435 3/10/2017

## Changed

- [GH-3724](https://github.com/fable-compiler/Fable/pull/3724) Internalize `GetFableModulesFromDir` & `GetFableModulesFromProject` (by @nojaf)