Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
This is a part of Node3D project.
npm i -s glfw-raub
Node.js addon with GLFW3 bindings.
Window
class, simplifying low-level interactions.Document
class, capable of tricking other libs, as if we are in a browser.Note: this addon uses N-API, and therefore is ABI-compatible across different Node.js versions. Addon binaries are precompiled and there is no compilation step during the
npm i
command.
This is a low-level interface, where most of the stuff is directly reflecting GLFW API. It does NOT EXPOSE OpenGL commands. See GLFW Docs for useful info on what it does and doesn't.
const glfw = require('glfw-raub');
Here glfw
is an API container, where all glfw*
functions are accessible as
glfw.*
. E.g. glfwSetWindowTitle
-> glfw.setWindowTitle
.
See TypeScript definitions for more details.
const { Window } = require('glfw-raub');
This class helps managing window objects and their events. It can also switch between fullscreen, borderless and windowed modes.
See TypeScript definitions for more details.
const { Document } = require('glfw-raub');
It can be used to facilitate the environment for other JS libraries, such as three.js.
See TypeScript definitions for more details.
FAQs
GLFW for Node.js
We found that glfw-raub demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.