Newgrounds.js is the first good and complete library for use Newgrounds.io functions and utilities for your game. The best? You can use with any framework or game engine of Javascript or web tecnologies, like Kaboom or Phaser
🎁
Features - Functions with everything your game needs
- Ability to call all components if you want
- Use the npm package or use the ES6 module, or a tag script!
Example
const newgrounds = require("newgrounds.js");
newgrounds.connect("533327:b6GaR8Eb", "ivuwzsfewkqñwacRQ==");
newgrounds.unlockMedal(129521);
newgrounds.postScore(12052012, 50);
Install
npm: npm i newgrounds.js
cdn: jsdelivr or unpkg