Fossa.Bridge
0.1.21
dotnet add package Fossa.Bridge --version 0.1.21
NuGet\Install-Package Fossa.Bridge -Version 0.1.21
<PackageReference Include="Fossa.Bridge" Version="0.1.21" />
<PackageVersion Include="Fossa.Bridge" Version="0.1.21" />
<PackageReference Include="Fossa.Bridge" />
paket add Fossa.Bridge --version 0.1.21
#r "nuget: Fossa.Bridge, 0.1.21"
#:package Fossa.Bridge@0.1.21
#addin nuget:?package=Fossa.Bridge&version=0.1.21
#tool nuget:?package=Fossa.Bridge&version=0.1.21
FossaApp Bridge
The FossaApp Bridge provides shared frontend and backend functionality.
Project Purpose
The Fossa.Bridge project is a shared F# library designed to encapsulate logic, validation, and domain models that are common to both the .NET backend and the TypeScript/JavaScript frontend. By using Fable, the F# code is transpiled into JavaScript/TypeScript for the frontend environment while simultaneously being compiled into a standard .NET library for the backend. This ensures a single source of truth for core business logic, API models, and data validation rules, reducing duplication and preventing synchronization issues between the client and server.
Package Usage
For .NET Backends (C# / F#)
Install the NuGet package:
dotnet add package Fossa.Bridge
For JavaScript / TypeScript Frontends
Install the NPM package:
npm install @fossa-app/bridge
or using Yarn:
yarn add @fossa-app/bridge
Features
- Shared API domain models.
- Common validation and helper logic.
- Consistent behavior across client and server.
Building and Packaging
To build both NPM and NuGet packages locally, run the included PowerShell script:
.\pack.ps1
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Fable.Core (>= 4.5.0)
- FSharp.Core (>= 10.0.102)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.21 | 0 | 3/12/2026 |
| 0.1.20 | 77 | 3/8/2026 |
| 0.1.19 | 76 | 3/7/2026 |
| 0.1.18 | 67 | 3/7/2026 |
| 0.1.17 | 75 | 3/7/2026 |
| 0.1.16 | 74 | 3/7/2026 |
| 0.1.15 | 72 | 3/7/2026 |
| 0.1.14 | 75 | 3/7/2026 |
| 0.1.13 | 83 | 3/6/2026 |
| 0.1.12 | 81 | 3/5/2026 |
| 0.1.11 | 77 | 3/5/2026 |
| 0.1.10 | 86 | 3/3/2026 |
| 0.1.9 | 83 | 3/3/2026 |
| 0.1.8 | 82 | 3/3/2026 |
| 0.1.7 | 81 | 3/2/2026 |
| 0.1.6 | 85 | 3/2/2026 |
| 0.1.5 | 86 | 2/27/2026 |
| 0.1.4 | 82 | 2/27/2026 |
| 0.1.3 | 86 | 2/27/2026 |
| 0.1.1 | 78 | 2/27/2026 |