Skip to content

Your game with medals, scoreboards, and more.

Newgrounds.js is a library that allows you to easily integrate your game with Newgrounds.io, unlocking features like medals, scoreboards, and more.

Intuitive

Newgrounds.js is designed to be easy to use and understand. You can start using it with just a few lines of code.

Modern

Using modern JavaScript features, as fetch, promises, and async/await.

Exact

You can use wrapper functions like unlockMedal(421024) or use the raw API with call("Medal.unlock", { id: 421024 })

TypeScript Support

Newgrounds.js is written in TypeScript, so there’s a fully support for types in wrapper functions and even raw API calls!