Bindings

Typed bindings for the JavaScript ecosystem

Hand-written, strongly typed F# and C# wrappers for the libraries and browser APIs you already use. Each package targets a specific upstream version, so the types match the JavaScript you actually ship.

Binding versions are refreshed from NuGet. Library versions show the latest stable release on npm.

Why typed bindings

Declare a JavaScript API once, use it as typed code everywhere

The WebSharper Interface Generator (WIG) turns a JavaScript API into a typed, machine-readable definition. From that single definition WebSharper generates idiomatic F# and C# — plus the interop glue — so you call JavaScript with the same confidence as native code.

one WIG definition F# types C# types JS interop
  • Type-safe across the boundary

    Every method, option and return type is checked by the F# or C# compiler. A renamed function, a missing required option or the wrong argument is a build error — not a runtime crash.

  • Machine-readable and AI-friendly

    A WIG definition is structured metadata, not prose. Tools and AI agents can read it to generate complete, consistent bindings — and to pinpoint exactly what changed when the upstream API moves.

  • Pinned to the library you ship

    Each binding records the upstream release it targets, so its types match the JavaScript you actually load. The freshness badge on every card shows when you are current — or behind.

  • No hand-written interop

    No obj, no dynamic, no stringly-typed escape hatches and no manual marshalling — generated bindings compile straight down to the underlying JavaScript calls.

Anatomy of a binding card

Every card is generated from the binding's metadata. Here is what each part tells you.

jsPDF 4.2.1+ WebSharper.JsPDF 10.1.0 Dev Generate PDFs in the browser — text, images and multi-page output, fully typed. Latest 4.2.1 Up to date NuGet GitHub Website Source NuGet package id and version Plain-language description Latest upstream release and freshness badge Package, spec, source and sample links Bound library version (the release it targets) Dev-feed build* (GitHub Packages)

Generating bindings with AI

Hand this skill file to your coding agent — Claude Code, Cursor, Codex or any tool that reads agent skills. It carries the WIG patterns, the project layout and the checks to run, so the agent can scaffold a complete, type-safe binding for you.

Download the binding skill

websharper-binding-skill.md · drop it into your agent's skills folder

Charts & visualization

7

Chart.js

4.6.1+

WebSharper.ChartJs 10.1.0.713Dev

Canvas charts — line, bar, radar, doughnut and more — configured through a typed model.

Latest 4.6.1 Up to date

D3

7.9.2+

WebSharper.D3 10.1.0.667

Data-driven documents: selections, scales, shapes, transitions and geo projections.

Latest 7.9.2 Up to date

Highcharts

13.1.1+

WebSharper.Highcharts 10.1.0.718Dev

Interactive charts, Highstock and Highmaps, generated from the official Highcharts API.

Latest 13.1.1 Up to date

Highstock

13.1.1+

WebSharper.Highstock 10.1.0.718Dev

Time-series and financial charts with navigator, range selector and data grouping.

Latest 13.1.1 Up to date

Highmaps

13.1.1+

WebSharper.Highmaps 10.1.0.718Dev

Geographic maps and map series, generated from the official Highcharts API.

Latest 13.1.1 Up to date

Plotly.js

4.3.0+

WebSharper.Plotly 10.1.0.712Dev

Interactive scientific and statistical charts with a typed trace and layout model.

Latest 4.3.0 Up to date

Cytoscape.js

3.35.0+

WebSharper.Cytoscape 10.1.0.732Dev

Graph theory and network visualization — elements, layouts, styles and interaction.

Latest 3.35.0 Up to date

Editors & documents

7

Ace

1.45.2+

WebSharper.Ace 10.1.0.706Dev

The embeddable code editor — sessions, documents, ranges, selections, search, markers and themes.

Latest 1.45.2 Up to date

CodeMirror

6.0.2+

WebSharper.CodeMirror 10.1.0.716Dev

The modular CodeMirror 6 editor, with typed language extensions and themes.

Latest 6.0.2 Up to date

highlight.js

11.12.0+

WebSharper.HighlightJS 10.1.0.715Dev

Client-side syntax highlighting with the core build and typed language registration.

Latest 11.12.0 Up to date

jsPDF

4.2.1+

WebSharper.JsPDF 10.1.0.710Dev

Client-side PDF generation — text, images, tables and page breaks.

Latest 4.2.1 Up to date

Remarkable

2.0.1+

WebSharper.Remarkable 10.1.0.667

Markdown parsing and rendering with configurable options.

Latest 2.0.1 Up to date

SlickGrid

6.0.0+

WebSharper.SlickGrid 10.1.0.714Dev

Fast virtualized data grids with sorting, formatting and editing.

Latest 6.0.0 Up to date

TinyMCE

8.10.2+

WebSharper.TinyMce 10.1.0.741Dev

The TinyMCE rich-text editor — content, toolbars, plugins and a typed configuration surface.

Latest 8.10.2 Up to date

UI components

10

React

19.3.1+

WebSharper.React 10.1.0.720Dev

React components and hooks with typed props and state.

Latest 19.3.1 Up to date

FluentUI React

9.75.2+

WebSharper.FluentUI.React.Components 10.1.0.721Dev

Fluent UI React components — buttons, dialogs, inputs and layout primitives.

Latest 9.75.2 Up to date

FluentUI Icons

2.0.345+

WebSharper.FluentUI.React.Icons 10.1.0.722Dev

The full Fluent UI icon set exposed as typed React components.

Latest 2.0.346 Up to date

SweetAlert2

11.26.25+

WebSharper.SweetAlert 10.1.0.723Dev

Accessible modal dialogs and alerts with a small, typed API.

Latest 11.26.25 Up to date

jQuery

4.0.0+

WebSharper.JQuery 10.1.0.717Dev

jQuery selections, events, Ajax and Deferred, plus sitelet router helpers.

Latest 4.0.0 Up to date

GoldenLayout

2.6.0+

WebSharper.GoldenLayout 10.1.0.730Dev

A multi-pane, dockable layout manager for complex web applications.

Latest 2.6.0 Up to date

FullCalendar

6.1.22+

WebSharper.FullCalendar 10.1.0.744Dev

Drag-and-drop event calendars with day, week, month, list and timeline views.

Latest 7.1.5

Swiper

14.4.0+

WebSharper.Swiper 10.1.0.744Dev

Touch-enabled sliders and carousels with modules, effects, navigation and pagination.

Latest 14.4.0 Up to date

SortableJS

1.15.7+

WebSharper.SortableJs 10.1.0.739

Reorderable drag-and-drop lists with multi-drag, swap and spill plugins.

Latest 1.15.7 Up to date

jQuery Terminal

2.48.1+

WebSharper.JQueryTerminal 10.1.0.746Dev

In-browser command-line interpreters — prompts, echo, history, nested interpreters and authentication.

Latest 2.48.1 Up to date

Maps & geo

2

Leaflet

1.9.4+

WebSharper.Leaflet 10.1.0.667

Interactive maps, markers, popups and tile layers from F#.

Latest 1.9.4 Up to date

TopoJSON

3.1.0+

WebSharper.TopoJson 10.1.0.667

TopoJSON decoding and geometry conversion for D3 maps.

Latest 3.1.0 Up to date

Utilities & dates

5

Anime.js

4.5.0+

WebSharper.AnimeJs 10.1.0.708Dev

A lightweight animation engine with a declarative API for CSS, SVG and DOM animations.

Latest 4.5.0 Up to date

date-fns

4.4.0+

WebSharper.DateFNS 10.1.0.706Dev

Immutable date manipulation with a large set of small, composable functions.

Latest 4.4.0 Up to date

Moment.js

2.31.0+

WebSharper.Moment 10.1.0.711Dev

Date parsing, formatting, durations and time zones.

Latest 2.31.0 Up to date

Day.js

1.11.23+

WebSharper.DayJs 10.1.0.744Dev

A tiny, immutable date library with formatting, parsing, durations and plugins.

Latest 1.11.23 Up to date

SignalR

11.0.0+

WebSharper.SignalR 10.1.0.709Dev

Typed SignalR hubs and clients for real-time server push.

Latest 11.0.0 Up to date

Math & typesetting

2

math.js

15.2.0+

WebSharper.MathJS 10.1.1.724Dev

Arbitrary-precision numbers, expression parsing, matrices, vectors and units.

Latest 15.2.0 Up to date

MathJax

4.1.3

WebSharper.MathJax 10.1.0.725Dev

TeX and MathML typesetting with the MathJax v3 API.

Latest 4.1.3 Up to date

Machine learning

1

TensorFlow.js

4.22.0+

WebSharper.TensorFlowJs 10.1.0.752Dev

Tensors, layers and models — build, train and run neural networks in the browser.

Latest 4.22.0 Up to date

3D & graphics

3

Babylon.js

9.36.0+

WebSharper.BabylonJs 10.1.0.744Dev

A complete 3D engine — scenes, meshes, materials, cameras, lights and animation.

Latest 9.36.0 Up to date

Three.js

0.187.0+

WebSharper.ThreeJs 10.1.0.750

The 3D library — scenes, geometries, materials, loaders, renderers and animation.

Latest 0.187.0 Up to date

glMatrix

3.4.4+

WebSharper.GlMatrix 10.1.0.744Dev

High-performance matrix and vector math for WebGL and 3D applications.

Latest 3.4.4 Up to date

Databases & storage

2

PouchDB

9.0.0+

WebSharper.PouchDB 10.1.0.743Dev

A JavaScript database that syncs — local storage with CouchDB-compatible replication.

Latest 9.0.0 Up to date

js-cookie

3.0.8+

WebSharper.JsCookie 10.1.0.746Dev

Read, write and remove browser cookies with typed attributes, SameSite and custom converters.

Latest 3.0.8 Up to date

Mobile & native

3

Capacitor

8.6.2+

WebSharper.Capacitor 10.1.0.726

Typed bindings for the official Capacitor plugins — camera, filesystem, browser, haptics and more.

Latest 8.6.2 Up to date

Capacitor Community

8.0.2+

WebSharper.Capacitor.Community 10.1.0.727Dev

Community Capacitor plugins, including Bluetooth LE, text-to-speech, native audio and camera preview.

Latest 8.0.2 Up to date

Capacitor CapGo

8.54.2+

WebSharper.Capacitor.CapGo 10.1.0.728Dev

CapGo plugins for over-the-air updates, purchases, uploads and native device features.

Latest 8.54.2 Up to date

Browser APIs

Typed access to modern browser APIs — no third-party library, no hand-written interop.

Graphics & compute

2

WebGPU

Native API

WebSharper.WebGPU 10.1.0.751Dev

GPU-accelerated graphics and compute from the browser.

Houdini

Native API

WebSharper.Houdini 10.1.0.700Dev

CSS Typed OM, custom properties, and paint, layout and animation worklets.

Devices

8

WebUSB

Native API

WebSharper.WebUSB 10.1.0.667

Communicate with USB devices directly from the browser.

Web Serial

Native API

WebSharper.WebSerial 10.1.0.667

Read from and write to serial devices.

WebMIDI

Native API

WebSharper.WebMIDI 10.1.0.667

MIDI input, output and device discovery.

Web Bluetooth

Native API

WebSharper.WebBluetooth 10.1.0.701Dev

Connect to Bluetooth Low Energy devices and GATT services.

Gamepad

Native API

WebSharper.Gamepad 10.1.0.700Dev

Gamepad discovery, button, axis and rumble state.

Battery Status

Native API

WebSharper.BatteryStatus 10.1.0.700Dev

Battery charge level and charging state.

Screen Wake Lock

Native API

WebSharper.ScreenWakeLock 10.1.0.700Dev

Keep the screen awake while a task is running.

Geolocation

Native API

WebSharper.Geolocation 10.1.0.700Dev

One-shot and continuous device location.

Media & communication

8

WebRTC

Native API

WebSharper.WebRTC 10.1.0.700Dev

Camera and microphone streams, plus peer-to-peer media types.

Web Speech

Native API

WebSharper.WebSpeech 10.1.0.667

Speech synthesis and speech recognition.

WebCodecs

Native API

WebSharper.WebCodecs 10.1.0.701Dev

Low-level audio and video encoding and decoding.

WebVTT

Native API

WebSharper.WebVTT 10.1.0.701Dev

Parse and manipulate WebVTT subtitle and caption tracks.

Media Session

Native API

WebSharper.MediaSession 10.1.0.700Dev

Expose playback to OS media controls and the media notification.

Media Capabilities

Native API

WebSharper.MediaCapabilities 10.1.0.700Dev

Query decoding and encoding capabilities and smoothness.

Picture-in-Picture

Native API

WebSharper.PictureInPicture 10.1.0.700Dev

Float a video element into a system Picture-in-Picture window.

Encrypted Media Extensions

Native API

WebSharper.EncryptedMediaExtensions 10.1.0.700Dev

Playback of DRM-protected audio and video.

Storage & state

4

Web Locks

Native API

WebSharper.WebLocks 10.1.0.667

Coordinate access to resources across tabs and workers.

IndexedDB

Native API

WebSharper.IndexedDB 10.1.0.700Dev

Structured client-side storage with typed object stores.

Cookie Store

Native API

WebSharper.CookieStore 10.1.0.700Dev

Asynchronous cookie read and write, with change events.

File System

Native API

WebSharper.FileSystem 10.1.0.700Dev

Origin-private and user-selected files and directories.

Input & UI

6

Touch Events

Native API

WebSharper.TouchEvents 10.1.0.700Dev

Touch and pointer events for mobile interactions.

Popover API

Native API

WebSharper.Popover 10.1.0.704Dev

Native HTML popovers anchored to elements.

Clipboard

Native API

WebSharper.Clipboard 10.1.0.700Dev

Asynchronous clipboard read and write of text and arbitrary items.

Drag and Drop

Native API

WebSharper.DragDrop 10.1.0.700Dev

HTML5 drag-and-drop with typed data transfer.

Intersection Observer

Native API

WebSharper.IntersectionObserver 10.1.0.700Dev

Observe element visibility and viewport intersections.

Permissions

Native API

WebSharper.Permissions 10.1.0.700Dev

Query and request the permission state of browser features.

Performance

3

Performance API

Native API

WebSharper.PerformanceAPI 10.1.0.700Dev

Navigation and resource timing, plus custom performance marks.

Task Scheduling

Native API

WebSharper.TaskScheduling 10.1.0.700Dev

Prioritized, yielding work with the scheduler API.

Background Fetch

Native API

WebSharper.BackgroundFetch 10.1.0.700Dev

Long-running background downloads that outlive the page.

Networking & runtime

4

Service Worker

Native API

WebSharper.ServiceWorker 10.1.0.700Dev

Offline-capable background scripts for caching, push and sync.

Network Information

Native API

WebSharper.NetworkInformation 10.1.0.700Dev

Connection type, effective bandwidth and downlink.

Push

Native API

WebSharper.Push 10.1.0.700Dev

Web push notifications via a service worker subscription.

Notifications

Native API

WebSharper.Notifications 10.1.0.700Dev

Display system notifications with actions and payloads.

Payments

1

Payment Request

Native API

WebSharper.PaymentRequest 10.1.0.700Dev

Native payment flows backed by the browser's payment sheet.

Security & identity

3

Web Crypto

Native API

WebSharper.WebCrypto 10.1.0.701Dev

Cryptographic primitives: keys, encryption, signing and hashing.

Credential Management

Native API

WebSharper.CredentialManagement 10.1.0.700Dev

Store and retrieve credentials through the browser's credential store.

Web Authentication

Native API

WebSharper.WebAuthentication 10.1.0.701Dev

Passwordless public-key authentication with WebAuthn.

Data & encoding

2

Compression Streams

Native API

WebSharper.CompressionStreams 10.1.0.700Dev

Streaming gzip and deflate compression and decompression.

Encoding

Native API

WebSharper.Encoding 10.1.0.700Dev

TextEncoder and TextDecoder for UTF-8 and legacy encodings.