A JavaScript port of the 3D line rendering engine ln
The package is published as @lnjs/core
.
npm install @lnjs/core
If you're using ES6 modules you can namespace everything by doing:
import * as ln from "@lnjs/core";
Or you can import only the modules you use:
import {Scene, Cube} from "@lnjs/core";
Or if you're just using CommonJS modules:
const ln = require("@lnjs/core");
Please see the official API documentation