eldenring-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Elden Ring API Wrapper

About

A TypeScript wrapper for the Elden Ring API, based on Elden Ring Fan API, providing information about the game.

Links

Features

  • 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.

Installation

npm install eldenring-api

Usage

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))

Contribution

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.

License

This Elden Ring API Wrapper is licensed under the MIT License.

Package Sidebar

Install

npm i eldenring-api

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

81.4 kB

Total Files

114

Last publish

Collaborators

  • mark1312