
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mygithub.libinneed.workers.dev/gopherjs/webgl
Advanced tools
GopherJS bindings for WebGL 1.0 context.

webgl_example.go:
package main
import (
"github.com/gopherjs/gopherjs/js"
"github.com/gopherjs/webgl"
)
func main() {
document := js.Global.Get("document")
canvas := document.Call("createElement", "canvas")
document.Get("body").Call("appendChild", canvas)
attrs := webgl.DefaultAttributes()
attrs.Alpha = false
gl, err := webgl.NewContext(canvas, attrs)
if err != nil {
js.Global.Call("alert", "Error: "+err.Error())
}
gl.ClearColor(0.8, 0.3, 0.01, 1)
gl.Clear(gl.COLOR_BUFFER_BIT)
}
webgl_example.html:
<html><body><script src="webgl_example.js"></script></body></html>
To produce webgl_example.js file, run gopherjs build webgl_example.go.
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.