{"repo":"pixijs-userland/node","free":true,"listed":false,"github":"https://github.com/pixijs-userland/node","clone":"git clone https://github.com/pixijs-userland/node.git","description":"Run PixiJS but in Node.js environments, no browser required!","language":"TypeScript","stars":49,"topics":["canvas","canvas2d","glsl","nodejs","pixijs","rendering","webgl2"],"license":"MIT","category":"game-templates","readme_excerpt":"@pixi/node We are now a part of the Open Collective and with your support you can help us make PixiJS even better. To make a donation, simply click the button below and we'll love you forever! Setup Install There is no default export. The correct way to import PixiJS is: Error installing gl package In most cases installing gl from npm should just work. However, if you run into problems you might need to adjust your system configuration and make sure all your dependencies are up to date Please refer to the gl installation guide for more information. Error installing canvas package The canvas library currently being used does not have a pre-built version for every environment. When the package detects an unsupported environment, it will try to build from source. To build from source you will need to make sure you have the following dependencies installed and then reinstall: brew install pkg-config cairo pango libpng jpeg giflib librsvg For non-mac users, please refer to the canvas installation guide for more information. Error unable to auto-detect a suitable renderer When running in a headless environment (e.g. server or continuous integration), use xvfb as a virtual frame buffer. Install with: And then use with node when starting the program: Basic Usage Example Full environment setup with Docker 🐳 NOTE: It is recommended to add node modules to your .dockerignore file. License This content is released under the (http://opensource.org/licenses/MIT) MIT License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/pixijs-userland","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pixijs-userland/node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}