Installation
NPM
You can install Newgrounds.js using any of your favorite package managers
Also using this way you should build your project with a bundler like ESBuild or Webpack. This way has some benefits like autocomplete (thanks to TypeScript), minor bundle size, and tree shaking.
CDN
If you prefer, you can also use a CDN to include Newgrounds.js in your project.