/cgal-node

Node.js wrapper for CGAL

Primary LanguageC++

This is a rudimentary Node.js wrapper for a single function from CGAL via N-API. It is currently meant for educational purposes but may someday be extended into an actual CGAL wrapper.

cmake-js simplifies the process of using CMake to create native addons for Node.js

yarn is used to install JavaScript dependencies and run tasks as defined in package.json

From the root directory

  1. yarn install to install the JS dependencies
  2. yarn build to compile the C++ code
  3. yarn start to run the example script