Bootsharp 0.3.1

dotnet add package Bootsharp --version 0.3.1
NuGet\Install-Package Bootsharp -Version 0.3.1
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="Bootsharp" Version="0.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bootsharp --version 0.3.1
#r "nuget: Bootsharp, 0.3.1"
#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.
// Install Bootsharp as a Cake Addin
#addin nuget:?package=Bootsharp&version=0.3.1

// Install Bootsharp as a Cake Tool
#tool nuget:?package=Bootsharp&version=0.3.1

<p align="center"> <a href="https://bootsharp.com" target="_blank" rel="noopener noreferrer"> <img width="200" src="https://raw.githubusercontent.com/elringus/bootsharp/main/docs/public/favicon.svg" alt="Bootsharp"> </a> </p> <br/> <p align="center"> <a href="https://www.nuget.org/packages/Bootsharp"><img src="https://img.shields.io/nuget/v/Bootsharp" alt="nuget"></a> <a href="https://codefactor.io/repository/github/elringus/bootsharp/overview/main"><img src="https://codefactor.io/repository/github/elringus/bootsharp/badge/main" alt="codefactor"></a> <a href="https://codecov.io/gh/elringus/bootsharp"><img src="https://codecov.io/gh/elringus/bootsharp/branch/main/graph/badge.svg?token=AAhei51ETt" alt="codecov"></a> <a href="https://github.com/elringus/bootsharp/actions/workflows/codeql.yml"><img src="https://github.com/elringus/bootsharp/actions/workflows/codeql.yml/badge.svg" alt="codeql"></a> </p> <br/>

Use C# in web apps with comfort

Author domain in C#, while taking full advantage of the modern JavaScript frontend ecosystem.

✨ Generates JavaScript bindings and type declarations for your C# APIs facilitating seamless interop between the domain and UI.

πŸ“¦ Choose between embedding all the C# binaries into single-file ES module for portability or sideload for best performance and build size.

πŸ—ΊοΈ Node, Deno, Bun, web browsers and even constrained environments, such as VS Code extensions β€” your app will work everywhere.

⚑ Manually author interop APIs via static C# methods or simply feed Bootsharp your domain-specific interfaces β€” it'll figure the rest.

🏷️ When an interface value is specified in interop API, instance binding is generated allowing to interoperate on stateful objects.

πŸ› οΈ Configure namespaces for emitted bindings, function and event names, C# β†’ TypeScript type mappings and more.

πŸ”₯ Supports latest .NET features: WASM multi-threading, AOT compilation, assembly trimming, streaming module instantiation.

🎬 Get Started

https://bootsharp.com/guide

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Bootsharp:

Repository Stars
elringus/bootsharp
Compile C# solution into single-file ES module with auto-generated JavaScript bindings and type definitions
Version Downloads Last updated
0.3.1 469 2/7/2024
0.3.0 78 2/5/2024
0.2.0 359 1/23/2024
0.1.3 223 1/6/2024
0.1.2 111 1/5/2024
0.1.1 129 1/1/2024
0.1.0 115 12/31/2023