This is an example of a Minecraft plugin written in JavaScript.
Run npm install to make sure all needed dependencies are installed.
npm install
npm run build
The JAR file will be put into dist/ExamplePlugin.jar in your project.
dist/ExamplePlugin.jar