-
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:Wrapreturns a wrapper func that handles the conversion from native JavaScriptjs.Objectparameters 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.