-
Notifications
You must be signed in to change notification settings - Fork 569
Bindings
Patricio Whittingslow edited this page Nov 22, 2021
·
65 revisions
- AngularJS: github.com/wvell/go-angularjs
- Chrome API: github.com/fabioberger/chrome
- Cordova: github.com/jaracil/goco
- D3: github.com/iansmith/d3
- DOM: honnef.co/go/js/dom
- Canvas: github.com/oskca/gopherjs-canvas
- VueJS:
- Electron: github.com/oskca/gopherjs-electron
- EventSource (Server-Sent Events): github.com/gopherjs/eventsource
- Frappé Charts: github.com/cnguy/gopherjs-frappe-charts
- jQuery: github.com/gopherjs/jquery
- JS Builtins: github.com/gopherjs/jsbuiltin
- JS console: honnef.co/go/js/console
- Polymer: code.palmstonegames.com/polymer
- React:
- LevelUP: https://github.com/fiatjaf/levelup-js (isomorphic with https://github.com/fiatjaf/levelup)
- localStorage: github.com/go-humble/locstor
- PouchDB: github.com/flimzy/kivik
- QUnit: github.com/rusco/qunit
- SQL.js (SQLite3 in the browser): github.com/flimzy/go-sql.js
- WebGL: github.com/gopherjs/webgl
- Three.js:
- WebSocket: github.com/gopherjs/websocket
- XHR:
- github.com/rocketlaunchr/gopherjs-xhr (idiomatic Go)
- honnef.co/go/js/xhr
- Mithril: github.com/danverbraganza/go-mithril
- Ace (ace.c9.io): maunium.net/go/gopher-ace
- Mousetrap: maunium.net/go/gopher-mousetrap
- LeafletJS: github.com/ctessum/go-leaflet
- gotalk: github.com/Archs/js/gotalk
- ProtobufJS and gRPC Web: github.com/johanbrandhorst/protobuf
These libraries expose the same API for native architectures (386
, amd64
, arm
) and js
architecture. Using them allows writing isomorphic Go code (same Go code that can run in backend and frontend).
- GLFW: github.com/goxjs/glfw
- OpenGL ES-like unified API: github.com/goxjs/gl
- WebSocket client: github.com/goxjs/websocket
-
jsutil.Wrap
:Wrap
returns a wrapper func that handles the conversion from native JavaScriptjs.Object
parameters to other types. For details see issue 93 (comment). - Promise: A Promises/A+ implementation in Go that allows easily exposing idiomatic synchronous Go code to JS by returning a promise.