-
Notifications
You must be signed in to change notification settings - Fork 570
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
- Vecty: github.com/gopherjs/vecty
-
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.