A TypeScript wrapper for the Elden Ring API, based on Elden Ring Fan API, providing information about the game.
-
Intuitive API: The Elden Ring API Wrapper provides a straightforward interface to interact with the Elden Ring Fan API.
-
Full Documentation: Every properties and parameter is thoroughly documented, ensuring developers have the information they need.
-
IntelliSense Support: Enjoy a smooth development experience with IntelliSense support in VS code.
npm install eldenring-api
import { EldenRing } from eldenring-api;
const eldenRing = new EldenRing();
// async/await
(async () => {
const boss = await eldenRing.boss("Malenia");
console.log(boss.healthPoints);
})
// .then
const boss = eldenRing.boss("Malenia");
boss.then((res) => console.log(res.healthPoints))
Contributions are welcome! If you find any issues, have feature requests, or want to contribute in any way, feel free to open an issue or submit a pull request.
This Elden Ring API Wrapper is licensed under the MIT License.