A graph node engine and editor written in Javascript similar to PD or UDK Blueprints, comes with its own editor in HTML5 Canvas2D. The engine can run client side or server side using Node. It allows to export graphs as JSONs to be included in applications independently.
I am new to the modern Javascript, and here is what I did to enable linting for this project.
git clone this repo. This is simple.
npm install to install all modules. There's no error, but several warnings I'll paste below.
npm run lint:fix to check the source code. I've got ✖ 761 problems (109 errors, 652 warnings)!
For example, there are many errors on 'clamp' is not defined.
Did I miss any steps? I just want to setup this project in VSCode and read through and learn. Can anyone offer some insights? Thank you very much!
E:\litegraph.js> npm install
npm WARN deprecated cryptiles@0.2.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated boom@0.4.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated sntp@0.2.4: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated request@2.40.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated hoek@0.9.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated hawk@1.1.1: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
added 607 packages, and audited 608 packages in 2m
82 packages are looking for funding
run `npm fund` for details
16 vulnerabilities (7 moderate, 9 high)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
I am new to the modern Javascript, and here is what I did to enable linting for this project.
git clone
this repo. This is simple.npm install
to install all modules. There's no error, but several warnings I'll paste below.npm run lint:fix
to check the source code. I've got ✖ 761 problems (109 errors, 652 warnings)! For example, there are many errors on'clamp' is not defined
.Did I miss any steps? I just want to setup this project in VSCode and read through and learn. Can anyone offer some insights? Thank you very much!