Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upBindings
Bindings to JavaScript
- 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
- WebSocket: github.com/gopherjs/websocket
- XHR: 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
Isomorphic Libraries
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
Frameworks using GopherJS
- Vecty: github.com/gopherjs/vecty
Utility functions
-
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.
Press h to open a hovercard with more details.