4.0.0-beta.1 • Published 15 days ago
newgrounds.js v4.0.0-beta.1
Newgrounds.js is the definitive library for connecting your game to the Newgrounds.io API.
Features 🎁
- 🚀 Intuitive usage
- 📖 Full documented with guides and examples.
- 🌟 You can use the wrapper functions
unlockMedal
or make your own requests withNewgroundsClient.call
- 📦 Async/Await by default
- 📜 Full Typescript support
- 🍜 ESM and CommonJS support
Installation 📦
You can install the package using your favorite node package manager.
npm i newgrounds.js
Also can use the CDN to include the library in your project.
<script src="https://cdn.jsdelivr.net/npm/newgrounds.js/dist/newgrounds.js"></script>
Example 📝
import ng from "newgrounds.js";
// Connect to your project
await ng.connect("533327:b6GaR8Eb", "ivuwzsfewkqñwacRQ==");
// Request user login
await ng.login();
// Start using NG.io
await ng.unlockMedal(129521);
await ng.postScore(12052012, 50);
Credits 🙏
- Newgrounds.io API
- Javascript Wrapper by KilledByAPixel, used as the base for this library.
4.0.0-beta.1
15 days ago
3.1.0-demo
2 years ago
3.1.0-demo1
2 years ago
3.1.0-demo2
2 years ago
3.1.0-demo3
2 years ago
3.1.0-demo4
2 years ago
3.1.0-demo5
2 years ago
3.1.0-demo6
2 years ago
3.1.0-demo7
2 years ago
3.1.2
2 years ago
3.1.1
2 years ago
3.1.0
2 years ago
3.1.0-demo10
2 years ago
3.1.0-demo12
2 years ago
3.1.0-demo8
2 years ago
3.1.0-demo11
2 years ago
3.1.0-demo9
2 years ago
3.1.0-demo14
2 years ago
3.1.0-demo13
2 years ago
3.1.0-demo16
2 years ago
3.1.0-demo15
2 years ago
3.0.0
2 years ago
2.0.0
3 years ago
1.1.2
3 years ago
1.2.0
3 years ago
1.1.1
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago