Fable.Core 4.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fable.Core --version 4.2.0
                    
NuGet\Install-Package Fable.Core -Version 4.2.0
                    
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.Core" Version="4.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fable.Core" Version="4.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Fable.Core" />
                    
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.Core --version 4.2.0
                    
#r "nuget: Fable.Core, 4.2.0"
                    
#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.Core&version=4.2.0
                    
Install Fable.Core as a Cake Addin
#tool nuget:?package=Fable.Core&version=4.2.0
                    
Install Fable.Core 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 net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (535)

Showing the top 5 NuGet packages that depend on Fable.Core:

Package Downloads
Fable.Browser.Blob

Package Description

Thoth.Json.Net

Elm-inspired encoder and decoder for JSON targetting .Net and NetCore runtime

Fable.Browser.Event

Package Description

Fable.Browser.Dom

Package Description

Fable.Browser.WebStorage

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.5.0 9,671 3/3/2025
4.4.0 4,451 2/16/2025
4.3.0 116,280 1/25/2024
4.2.0 46,485 10/24/2023
4.1.1 502 10/18/2023
4.1.0 30,525 9/29/2023
4.0.0 48,038 3/18/2023
4.0.0-theta-007 9,659 11/13/2022
4.0.0-theta-006 2,667 10/14/2022
4.0.0-theta-005 983 10/4/2022
4.0.0-theta-004 334 9/28/2022
4.0.0-theta-003 1,935 9/22/2022
4.0.0-theta-002 257 9/21/2022
4.0.0-theta-001 1,676 9/9/2022
4.0.0-snake-island-alpha-007 6,223 7/25/2022
4.0.0-snake-island-alpha-006 201 7/12/2022
4.0.0-snake-island-alpha-005 298 6/3/2022
4.0.0-snake-island-alpha-004 217 5/25/2022
4.0.0-snake-island-alpha-003 186 5/23/2022
4.0.0-snake-island-alpha-002 204 5/20/2022
4.0.0-snake-island-alpha-001 217 5/11/2022
4.0.0-beta-001 161 9/7/2022
3.7.1 345,023 5/27/2022
3.7.0 37,378 4/29/2022
3.6.2 119,326 2/17/2022
3.6.1 72,580 11/26/2021
3.6.0 4,406 11/19/2021
3.6.0-beta-001 424 11/17/2021
3.4.0 27,687 10/1/2021
3.3.1 12,029 9/16/2021
3.3.0-beta-001 1,400 8/28/2021
3.2.9 19,190 8/26/2021
3.2.8 133,660 6/11/2021
3.2.7 133,678 5/14/2021
3.2.6 14,340 4/9/2021
3.2.5 23,886 3/11/2021
3.2.4 24,409 2/12/2021
3.2.3 17,168 1/8/2021
3.2.2 8,948 12/22/2020
3.2.1 4,151 12/16/2020
3.2.0 6,256 12/4/2020
3.1.6 629,562 9/22/2020
3.1.5 477,930 2/10/2020
3.1.4 60,246 12/23/2019
3.1.3 53,408 11/7/2019
3.1.2 22,915 10/14/2019
3.1.1 53,175 9/25/2019
3.1.0 5,933 9/17/2019
3.0.0 861,559 4/16/2019
3.0.0-beta-006 1,361 4/12/2019
3.0.0-beta-005 7,784 3/13/2019
3.0.0-beta-004 3,752 3/12/2019
3.0.0-beta-003 523 3/5/2019
3.0.0-beta-002 977 3/4/2019
3.0.0-beta-001 502 2/28/2019
2.1.0-alpha-002 2,933 1/22/2019
2.1.0-alpha-001 602 1/22/2019
2.0.3 39,984 12/10/2018
2.0.2 9,567 11/20/2018
2.0.1 9,799 10/26/2018
2.0.0 30,281 9/28/2018
2.0.0-beta-001 9,392 8/1/2018
2.0.0-alpha-015 820 7/30/2018
2.0.0-alpha-014 967 7/19/2018
2.0.0-alpha-012 1,122 7/12/2018
2.0.0-alpha-011 2,047 6/25/2018
2.0.0-alpha-010 2,012 6/4/2018
2.0.0-alpha-006 2,054 5/30/2018
2.0.0-alpha-002 1,130 5/25/2018
2.0.0-alpha-001 1,042 5/24/2018
1.3.17 29,044 5/10/2018
1.3.16 3,607 5/5/2018
1.3.12 25,765 3/22/2018
1.3.11 9,754 3/8/2018
1.3.9 5,726 3/1/2018
1.3.8 71,450 1/23/2018
1.3.7 22,995 12/21/2017
1.3.6 3,263 12/14/2017
1.3.5 2,033 12/13/2017
1.3.4 3,781 11/29/2017
1.3.3 3,302 11/27/2017
1.3.1 4,798 11/21/2017
1.3.0 3,351 11/15/2017
1.3.0-beta-009 1,098 11/15/2017
1.3.0-beta-008 1,099 11/14/2017
1.3.0-beta-007 1,165 11/10/2017
1.3.0-beta-006 1,191 10/27/2017
1.3.0-beta-003 1,249 10/26/2017
1.3.0-beta-002 1,262 10/19/2017
1.3.0-beta-001 1,422 9/29/2017
1.2.4 20,951 9/27/2017
1.2.3 3,234 9/18/2017
1.2.2 2,456 9/18/2017
1.2.1 5,237 9/10/2017
1.2.0 5,978 9/6/2017
1.2.0-beta-004 989 9/5/2017
1.2.0-beta-003 1,848 8/31/2017
1.2.0-beta-002 1,585 8/30/2017
1.2.0-beta-001 2,121 8/23/2017
1.1.16 1,940 9/5/2017
1.1.15 8,018 8/22/2017
1.1.14 3,585 8/8/2017
1.1.12 2,593 7/31/2017
1.1.11 4,680 7/27/2017
1.1.10 4,317 7/24/2017
1.1.9 1,987 7/22/2017
1.1.8 7,117 7/18/2017
1.1.7 5,138 7/11/2017
1.1.6 5,483 7/4/2017
1.1.5 2,082 6/28/2017
1.1.4 1,988 6/24/2017
1.1.3 4,473 6/20/2017
1.1.2 4,519 6/20/2017
1.1.1 3,265 6/19/2017
1.1.0 2,049 6/15/2017
1.1.0-rc-002 1,251 6/12/2017
1.1.0-rc-001 1,246 6/10/2017
1.0.14 2,015 6/14/2017
1.0.12 1,844 6/14/2017
1.0.11 2,263 6/13/2017
1.0.10 1,932 6/13/2017
1.0.9 1,884 6/13/2017
1.0.8 8,582 6/2/2017
1.0.7 3,588 5/27/2017
1.0.6 3,693 5/24/2017
1.0.5 1,924 5/24/2017
1.0.4 4,980 5/17/2017
1.0.3 1,900 5/17/2017
1.0.2 2,179 5/17/2017
1.0.1 6,962 5/17/2017
1.0.0-narumi-921 1,876 5/17/2017
1.0.0-narumi-920 1,139 5/16/2017
1.0.0-narumi-918 1,706 5/16/2017
1.0.0-narumi-917 1,405 5/16/2017
1.0.0-narumi-916 1,447 5/15/2017
1.0.0-narumi-915 2,365 5/9/2017
1.0.0-narumi-912 3,206 4/23/2017
1.0.0-narumi-911 1,387 4/19/2017
1.0.0-narumi-910 1,274 4/19/2017
1.0.0-narumi-909 1,444 4/14/2017
1.0.0-narumi-908 2,005 4/2/2017
1.0.0-narumi-906 1,482 3/29/2017
1.0.0-narumi-905 1,293 3/27/2017
1.0.0-narumi-904 1,333 3/25/2017
1.0.0-narumi-903 1,383 3/23/2017
1.0.0-narumi-8 1,945 3/15/2017
1.0.0-narumi-7 1,199 3/14/2017
1.0.0-narumi-6 1,242 3/14/2017
1.0.0-narumi-5 1,365 3/13/2017
1.0.0-narumi-4 991 3/13/2017
1.0.0-narumi-15 1,429 3/22/2017
1.0.0-narumi-1 1,720 3/10/2017