The goal of this project is to provide an easy-to-use lib to get Diablo 2 related data
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- nodejs, npm
npm i diablo2-data
const diabloData = require('diablo2-data')('pod_1.13d')
console.log(JSON.stringify(diabloData.skills[50]))
console.log(JSON.stringify(diabloData.areas[101]))
console.log(JSON.stringify(diabloData.npcsByName['Akara']))
console.log(JSON.stringify(diabloData.objectsByName['StoneTheta']))
console.log(JSON.stringify(diabloData.itemEnums.Action))
console.log(JSON.stringify(diabloData.itemPropertiesByName['Maximum Damage']))
console.log(JSON.stringify(diabloData.itemDataByName['Ring Mail']))
console.log(JSON.stringify(diabloData.itemTypesByName['Amulet']))
console.log(JSON.stringify(diabloData.uniqueItemsByName['Shako']))
console.log(JSON.stringify(diabloData.responses[41]))
Or run the example
sudo node examples/basic.js
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.