{"repo":"jmulet/node-geogebra","free":true,"listed":false,"github":"https://github.com/jmulet/node-geogebra","clone":"git clone https://github.com/jmulet/node-geogebra.git","description":"Generate plots with geogebra from nodejs","language":"JavaScript","stars":26,"topics":["geogebra","nodejs","plotting","chromium","headless","puppeteer","pool"],"license":"ISC","category":"scrapers-browser-automation","readme_excerpt":"node-geogebra Run a geogebra script from nodejs and export your work to the desired format: pdf, svg, png and ggb . Under the hood It runs Geogebra Classic App through a headless chromium browser using the puppeteer package. This package provides an interface to programmatically utilize Geogebra classic app from nodejs. Clone git clone https://github.com/jmulet/node-geogebra.git cd node-geogebra npm install Install npm i --save node-geogebra Build Classes GGBPool - constructor GGBPool ( options ?: GGBOptions) Options parameters: - ggb (default local): local or remote. Whether to load Geogebra classic app from the local copy or remotely from https://www.geogebra.org/classic. Note that \"remote\" will require internet connection. - plotters (default 3): number of plotters in the pool - perspective (default \"G\"): Set the initial GeoGebra perspective (e.g., \"G\" for Graphing, \"3\" for 3D Graphics). Methods: - async ready() : When resolved, the pool is ready to use - async getGGBPlotter() : Picks a plotter from the pool - async release() : Closes the pool. Please note that the nodejs process would not end unless you call this method. GGBPlotter - constructor GGBPlotter ({ggb: \"remote or local\"}). Please note that \"remote\" will not work - constructor GGBPlotter (id?: number, page?: puppeteer.Page, releasedEmitter?: EventEmitter) Optional parameters: - id (default is randomly generated): string identifier - page : If not passed then is generated - releasedEmitter : Internally used by th","default_branch":null,"files":null,"tree":[],"storefront":"/r/jmulet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jmulet/node-geogebra/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."}