jaspr-js-interop
CommunitySafely bridge Jaspr apps with JavaScript.
Software Engineering#web api#javascript interop#jaspr#js-interop#server rendering#kIsWeb#js bindings
Authorrodydavis
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents Jaspr applications from crashing or behaving inconsistently when you need to call JavaScript libraries or browser-native APIs during rendering.
Core Features & Use Cases
- Server-safe JS interop: Uses universal_web stubs and enforces web-only execution guards to avoid server/pre-render failures.
- JS library bindings: Binds to global JS functions/objects using @JS() and extension types for typed interaction.
- Config object bridging: Uses @anonymous extension types to send and receive plain JavaScript object literals safely.
Quick Start
Use the jaspr-js-interop skill to wrap a third-party browser analytics library by importing the correct universal_web interop module and calling the JS entrypoints only inside a kIsWeb guard.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jaspr-js-interop Download link: https://github.com/rodydavis/signals.dart/archive/main.zip#jaspr-js-interop Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.